OnRemovePlugin Event



 
Fires when a plugin is removed.


Syntax

    SiteKiosk.OnRemovePlugin = handler
Parameters
    plugin String that contains the removed plugin.
Remarks
    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example shows the name of the plugin thas has been removed.

    <div id="id_plugin">Remove a plugin</div>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.OnRemovePlugin = OnRemovePlugin;
    function OnRemovePlugin(plugin)
    {
       id_plugin.innerHTML = "Removed plugin: " + plugin;
    }
    </SCRIPT>

Applies to
    SiteKiosk v5.0 (and later versions).

Back to top