OnPropertyChange Event
Fires when one of the properties
AccountEnabled,
RetransferEnabled or
Volatile changes.
Syntax
SiteKiosk.Plugins("SiteCash").Devices("ScriptDevice").
OnPropertyChange = handler
|
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 one of the mentioned properties changes.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
sdevice = SiteKiosk.Plugins("SiteCash").Devices("ScriptDevice");
sdevice.OnPropertyChange = OnPropertyChange;
function OnPropertyChange()
{
alert("A script device property changed");
}
</SCRIPT>
|
Applies to
SiteKiosk v5.0 (and later versions).
Back to top