Hierarchy

Properties

safeAreaLayoutMode?: boolean

Sets padding values to page's layout. This will override padding values of its layout. Padding values are defined by Apple for each orientation.

Ios

Since

0.1

barTextTransform: BarTextTransform

Events

onSafeAreaPaddingChange: undefined | ((padding: { left: number; top: number; right: number; bottom: number }) => void)

This event will be triggered when padding values of layout changed.

onSafeAreaPaddingChange

Deprecated

Param

Includes top,left,right and bottom padding values.

Ios

Since

0.1

Example

import Page from '@smartface/native/ui/page';

const page = new Page();
page.on(Page.Events.SafeAreaPaddingChange, () => {
console.info('onSafeAreaPaddingChange');
});

Generated using TypeDoc