8.7 released—WinterCG Compliance Part 1
Learn more
ShownModallyData
interface ShownModallyData extends EventData {
  closeCallback: Function;
  context: any;
}
Defines the data for the shownModally event.

Summary

Properties

closeCallback
context
2 properties inherited from EventData
Click to expand

Properties

closeCallback

closeCallback?: Function
A callback to call when you want to close the modally shown view. Pass in any kind of arguments and you will receive when the callback parameter of View.showModal is executed.

context

context?: any
The context (optional, may be undefined) passed to the view when shown modally.
Next
Size