mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-24 14:58:36 +08:00

reverts part of https://github.com/ionic-team/ionic/commit/dfb4fe2134633a3f0334d2c77dfb0 c0931d8400d
ion-toast
Properties
closeButtonText
string
cssClass
string
dismissOnPageChange
boolean
duration
number
enterAnimation
leaveAnimation
message
string
position
string
showCloseButton
boolean
toastId
number
translucent
boolean
willAnimate
boolean
Attributes
close-button-text
string
css-class
string
dismiss-on-page-change
boolean
duration
number
enter-animation
leave-animation
message
string
position
string
show-close-button
boolean
toast-id
number
translucent
boolean
will-animate
boolean
Events
ionToastDidDismiss
Emitted after the toast has dismissed.
ionToastDidLoad
Emitted after the toast has loaded.
ionToastDidPresent
Emitted after the toast has presented.
ionToastDidUnload
Emitted after the toast has unloaded.
ionToastWillDismiss
Emitted before the toast has dismissed.
ionToastWillPresent
Emitted before the toast has presented.
Methods
dismiss()
present()
Built with StencilJS