hasEvent

checks whether the component has the specified event handler

boolean hasEvent(string name);
namestringthe event name, case-insensitive
booleantrue, if at least one handler was attached to the specified event. Otherwise, false

Example

var is_exit = mydata.hasEvent('onBeforeSelect');

See also
Back to top