Skip to content

hasEvent

checks whether the component has the specified event handler

function hasEvent(
// the event name, case-insensitive
name: string
): void
const is_exit = mydata.hasEvent('onBeforeSelect');

Articles

API