$.udb.trigger()
note
This article is about the trigger() function of the udb object.
$.udb.trigger()
Triggers an event (in the same way as in the jQuery implementation) on application level of the web application.
Returns the UdbApplication object.
Syntax
$.udb.trigger( *eventType*, [data] )
The required eventType is a string that identifies the event to be triggered. The possible values for the 'eventType' parameter are listed and described in the Events reference section.
The optional data is a JSON object of additional parameters to pass along to the event handler. It will appear in the event handler function as its options parameter (i.e. the second parameter listed).
Examples
$.udb.trigger('login');
$.udb.trigger('aftergetmenu',{
menu: menu,
menuName: name
});