Preview 2.0 is now in Public Beta!
Read the Announcement
Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.
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