Executing code

Top  Previous  Next

The 'handler' Property

 

This is a function declaration. This function gets called when the screen rule is selected.

 

The following snippet is an example of a 'handler' property:

 

   handler: function (hs) {

         alert('Accounts last update: '+hs.data.accountsLastUpdate);

   }