Conduit API
Case Study
EBKeyChanged
 
This function is called when a local key is changed via StoreKey function.See also EBGlobalKeyChanged
 
EBKeyChanged(key, value).
 
Parameter Description Range Type
key The name of the key that was changed Not null string
value The value of the key Not null string
 
None.
 
Local keys are key-value objects stored in the registry in the client’s PC. Toolbars and apps can read or write these key-value objects and use them in their apps. Local keys are accessible only within the local app, so other apps cannot read or write these keys.

This function can be used both with the HTML App and with the gadget window.
*Notice: API methods must be invoked after the web page has triggered the "onload" event.
 
This example contains one button. Clicking on it will store a local key, and as a result the event EBKeyChanged will be executed, displaying an alert on the screen.