| title | ShowModalOptions |
|---|---|
| titleTemplate | title - API / NativeScript |
| contributors | false |
Defined in: ui/core/view-base/index.ts
optional android?: {
cancelable?: boolean;
windowSoftInputMode?: number;
};Defined in: ui/core/view-base/index.ts
optional cancelable?: boolean;Use ShowModalOptions.cancelable instead. An optional parameter specifying whether the modal view can be dismissed when not in full-screen mode.
optional windowSoftInputMode?: number;An optional parameter specifying the windowSoftInputMode of the dialog window. For possible values see https://developer.android.com/reference/android/view/WindowManager.LayoutParams#softInputMode
optional animated?: boolean;Defined in: ui/core/view-base/index.ts
An optional parameter specifying whether to show the modal view with animation.
optional cancelable?: boolean;Defined in: ui/core/view-base/index.ts
An optional parameter specifying whether the modal view can be dismissed when not in full-screen mode.
closeCallback: (...args: any[]) => void;Defined in: ui/core/view-base/index.ts
A function that will be called when the view is closed. Any arguments provided when calling ShownModallyData.closeCallback will be available here.
| Parameter | Type |
|---|---|
...args |
any[] |
void
context: any;Defined in: ui/core/view-base/index.ts
Any context you want to pass to the modally shown view. This same context will be available in the arguments of the shownModally event handler.
optional fullscreen?: boolean;Defined in: ui/core/view-base/index.ts
An optional parameter specifying whether to show the modal view in full-screen mode.
optional ios?: {
height?: number;
presentationStyle?: any;
statusBarStyle?: "dark" | "light";
width?: number;
};Defined in: ui/core/view-base/index.ts
An optional parameter that specify options specific to iOS as an object.
optional height?: number;height of the popup dialog
optional presentationStyle?: any;The UIModalPresentationStyle to be used when showing the dialog in iOS .
optional statusBarStyle?: "dark" | "light";The preferred status bar style for the modal view
optional width?: number;width of the popup dialog
optional stretched?: boolean;Defined in: ui/core/view-base/index.ts
An optional parameter specifying whether to stretch the modal view when not in full-screen mode.
optional transition?: ModalTransitionType;Defined in: ui/core/view-base/index.ts
An optional custom transition effect