hasEvent

checks whether the component has the specified event handler

boolean hasEvent(string name);

Parameters

namestringthe event name, case-insensitive

Returns

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
If you have not checked yet, be sure to visit site of our main product Webix easy javascript framework and page of ui draggable product.