SiteKiosk Documentation
One Step Back

OnBonusGranted Event




Fires when bonus has been granted.


Syntax

    SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient").
    OnBonusGranted = handler
    
Parameters
    amountCurrency value that contains the bonus 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 displays the bonus amount when bonus has been granted.

    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteCafe = SiteKiosk.Plugins("SiteCash").Devices("SiteCafeClient");
    SiteCafe.OnBonusGranted = OnBonusGranted;
    function OnBonusGranted(amount)
    {
       alert(amount);
    }
    </SCRIPT>
    

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

Back to topVolver arriba

© 1997-2011 PROVISIO - Aventura, EEUU - Muenster, Alemania
Sitekiosk.es - Grupo24®, Madrid, España -