OnAddPlugin Event
Fires when a plugin is added.
Syntax
SiteKiosk.OnAddPlugin = handler
|
Parameters
plugin |
String that contains the name of the added plugin. |
Remarks
The object that caused the event can be referenced in the event function using "this".
Examples
The following example shows its name when a new plugin has been added.
<div id="id_plugin">Add a plugin</div>
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
SiteKiosk.OnAddPlugin = OnAddPlugin;
function OnAddPlugin(plugin)
{
id_plugin.innerHTML = "Added plugin: " + plugin;
}
</SCRIPT>
|
Applies to
SiteKiosk v5.0 (and later versions).
Back to top