OnEscrowed Event



 
Fires when an escrow device keeps money.


Syntax

    SiteKiosk.Plugins("SiteCash").OnEscrowed = handler
    
Parameters
    obj DevInfoAdapter object that represents the device.
    amount Currency value that contains the amount.
Remarks
    The object that caused the event can be referenced in the event function using "this".

    Use the CurrencyFormatter object for currency functionality.
Examples
    The following example shows the amount when an escrow device keeps money.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Plugins("SiteCash").OnEscrowed = OnEscrowed;
    function OnEscrowed(obj, amount)
    {
       alert(amount);
    }
    </SCRIPT>
    

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

Back to top