OnVisibilityChange Event



 
Fires when the touch screen keyboard's visibility is changed.


Syntax

    SiteKiosk.Keyboard.OnVisibilityChange = handler
Parameters
    visibility Boolean value that indicates if the keyboard is visible.
Remarks
    In order to be able to use this event, you must have configured a touch screen keyboard.

    The object that caused the event can be referenced in the event function using "this".
Examples
    The following example shows the visibility status when it has been changed.

    <div id="id_visibility">Change the visibility</div>
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Keyboard.OnVisibilityChange = OnVisibilityChange;
    function OnVisibilityChange(visibility)
    {
       id_visibility.innerHTML = "Visible: " + visibility;
    }
    </SCRIPT>

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

Back to top