Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ModalProperties

Indexable

[key: string]: any

key for others property.

Index

Properties

Optional animationType

animationType: "none" | "slide" | "fade"

The animationType prop controls how the modal animates. The animationType prop controls how the modal animates.

Optional hardwareAccelerated

hardwareAccelerated: undefined | true | false

The hardwareAccelerated prop controls whether to force hardware acceleration for the underlying window. It is for android only The hardwareAccelerated prop controls whether to force hardware acceleration for the underlying window. It is for android only

Optional onDismiss

onDismiss: undefined | function

It is used for closing the Modal. It is for iOS only It is used for closing the Modal. It is for iOS only

Optional onOrientationChange

onOrientationChange: undefined | function

The onOrientationChange callback is called when the orientation changes while the modal is being displayed. It is for ios only The onOrientationChange callback is called when the orientation changes while the modal is being displayed. It is for ios only

Optional onRequestClose

onRequestClose: undefined | function

The onRequestClose callback is called when the user taps the hardware back button on Android or the menu button on Apple TV. The onRequestClose callback is called when the user taps the hardware back button on Android or the menu button on Apple TV.

Optional onShow

onShow: undefined | function

The onShow prop allows passing a function that will be called once the modal has been shown. The onShow prop allows passing a function that will be called once the modal has been shown.

Optional presentationStyle

presentationStyle: "fullScreen" | "pageSheet" | "formSheet" | "overFullScreen"

The presentationStyle prop controls how the modal appears generally on larger devices such as iPad or plus-sized iPhones It is for ios only The presentationStyle prop controls how the modal appears generally on larger devices such as iPad or plus-sized iPhones It is for ios only

Optional supportedOrientations

supportedOrientations: "portrait" | "portrait-upside-down" | "landscape" | "landscape-left" | "landscape-right"

The supportedOrientations prop allows the modal to be rotated to any of the specified orientations The supportedOrientations prop allows the modal to be rotated to any of the specified orientations

Optional transparent

transparent: undefined | true | false

The transparent prop determines whether your modal will fill the entire view. Setting this to true will render the modal over a transparent background. The transparent prop determines whether your modal will fill the entire view. Setting this to true will render the modal over a transparent background.

Optional visible

visible: undefined | true | false

The visible prop determines whether your modal is visible. The visible prop determines whether your modal is visible.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc