The
event
interface helps your plug-in with event management.
event.onGlobalRefresh()
method
Signature | event.onGlobalRefresh(pluginCallbackFunc:function):void |
Description | Registers a global
refresh handler that the
vSphere
Client
will call when the
Global
Refresh button is clicked. |
Parameter:
pluginCallbackFunc | A reference
to a global refresh handler, with signature
function callback():void |
event.onThemeChanged()
method
Signature | event.onThemeChanged(themeCalbackFunc:function):void |
Description | Registers an event
handler that the
vSphere
Client
will call when the
vSphere
Client
changes the current theme. |
Parameter:
themeCallbackFunc | A reference to
a theme change handler, with signature
function
themeCallbackFunc(theme:app.PluginTheme):void |