Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.
Interfaces
ShowModalOptions
ShowModalOptions
interface ShowModalOptions {
android: {
cancelable?: boolean
};
animated: boolean;
cancelable: boolean;
closeCallback: (...args: any[]) => void;
context: any;
fullscreen: boolean;
ios: {
height?: number
presentationStyle?: any
};
stretched: boolean;
transition: ModalTransitionType;
}
Summary
Properties
android
animated
An optional parameter specifying whether to show the modal view with animation.
cancelable
An optional parameter specifying whether the modal view can be dismissed when not in full-screen mode.
closeCallback
context
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.
fullscreen
An optional parameter specifying whether to show the modal view in full-screen mode.
ios
An optional parameter that specify options specific to iOS as an object.
stretched
An optional parameter specifying whether to stretch the modal view when not in full-screen mode.
transition
An optional custom transition effect
- Previous
- SharedTransitionConfig
- Next
- ShownModallyData