events

This namespace provides methods for controlling events without using jQuery.

Methods

This section describes the methods that the DevExpress.events namespace exposes.

Name Description
off(element, eventName, handler)

off(element, eventName, selector)

off(element, eventName, selector, handler)

Detaches an event handler from the specified elements.

on(element, eventName, data, handler)

on(element, eventName, handler)

on(element, eventName, selector, data, handler)

Attaches an event handler to the specified elements.

on(element, eventName, selector, handler)

one(element, eventName, data, handler)

one(element, eventName, handler)

one(element, eventName, selector, data, handler)

Attaches an event handler to be executed only once to the specified elements.

one(element, eventName, selector, handler)

trigger(element, event)

trigger(element, event, extraParameters)

Executes all handlers of a given event type attached to the specified elements.