Files
ionic-framework/packages/core/src/components/modal

ion-modal

Properties

color

string

The color to use from your Sass $colors map. Default options are: "primary", "secondary", "danger", "light", and "dark". For more information, see Theming your App.

component

any

cssClass

string

data

any

delegate

enableBackdropDismiss

boolean

enterAnimation

leaveAnimation

modalId

number

mode

The mode determines which platform styles to use. Possible values are: "ios" or "md". For more information, see Platform Styles.

showBackdrop

boolean

willAnimate

boolean

Attributes

color

string

The color to use from your Sass $colors map. Default options are: "primary", "secondary", "danger", "light", and "dark". For more information, see Theming your App.

component

any

css-class

string

data

any

delegate

enable-backdrop-dismiss

boolean

enter-animation

leave-animation

modal-id

number

mode

The mode determines which platform styles to use. Possible values are: "ios" or "md". For more information, see Platform Styles.

show-backdrop

boolean

will-animate

boolean

Events

ionModalDidDismiss

Emitted after the modal has dismissed.

ionModalDidLoad

Emitted after the modal has loaded.

ionModalDidPresent

Emitted after the modal has presented.

ionModalDidUnload

Emitted after the modal has unloaded.

ionModalWillDismiss

Emitted before the modal has dismissed.

ionModalWillPresent

Emitted before the modal has presented.

Methods

dismiss()

getUserComponentContainer()

present()


Built with StencilJS