Stay organized with collectionsSave and categorize content based on your preferences.
OnClose
An enum that specifies what to do when a URL opened through anOpenLinkis closed.
When a link is opened, the client either forgets about it or waits until the window is closed.
The implementation depends on the client platform capabilities.OnClosemay causeOpenAsto be ignored; if the client platform cannot support both selected values together,OnClosetakes precedence.
To call an enum, you call its parent class, name, and property. For example,CardService.OnClose.RELOAD.
Properties
Property
Type
Description
NOTHING
Enum
Do nothing on close. Default.
RELOAD
Enum
Reloads the add-on on when the window closes.
IfOpenAs.OVERLAYis also set, then the main card is blocked until the overlay
window is closed and the add-on has finished reloading.
Deprecated properties
Property
Type
Description
RELOAD_ADD_ON
Enum
Reload the add-on on closing the URL. This action differs fromRELOADin that it does
not block the main card while showing anOpenAs.OVERLAYwindow.