# OnCancel Event Fires when the cancel button has been clicked. Syntax
    SiteKioskConfig.OnCancel = handler
Parameters
closeable | Boolean value that indicates whether the wizard can be closed.
Remarks The object that caused the event can be referenced in the event function using "this". Examples The following example shows an alert window when the wizard is about to be closed.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKioskConfig.OnCancel = OnCancel;
    function OnCancel(closeable)
    {
       alert(closeable);
    }
    </SCRIPT>
Applies to SiteKiosk v6.0 (and later versions). Back to top