The event
interface helps your plug-in with event management.
event.onDateTimeFormatChanged()
Signature |
|
Description |
Registers an event handler for changes to the datetime format preferences in the vSphere Client. |
Parameter: |
A reference to a function that responds to changes in datetime preferences. The callback function must have the following signature: function callback():void |
event.onGlobalRefresh()
Signature |
|
Description |
Registers a global refresh handler that the vSphere Client will call when the Global Refresh button is clicked. |
Parameter: |
A reference to a global refresh handler. The callback function must have the following signature: function callback():void |
event.onThemeChanged()
Signature |
|
Description |
Registers an event handler that the vSphere Client will call when the vSphere Client changes the current theme. |
Parameter: |
A reference to a theme change handler. The callback function must have the following signature: function callback(theme:app.PluginTheme):void The |