events

The `events` module contains all functionality for DOM event binding and triggering events. This will also contain the logic for custom Dollarsign-only events and event delegation.
Source:

Methods

(static) fire(event) → {Dollarsign}

Trigger an event on all elements in this object.
Source:
Parameters:
Name Type Description
event string Name of the event to trigger.
Returns:
Type:
Dollarsign
this object

(static) off(event) → {Dollarsign}

Unbind an event from the elements in this selection.
Source:
Parameters:
Name Type Description
event string Name of the event to be unbound.
Returns:
Type:
Dollarsign
this object

(static) on(event, listener) → {Dollarsign}

Bind an event to the elements in this selection.
Source:
Parameters:
Name Type Description
event string Name of the event to be bound.
listener eventListener Function to be executed when event fires.
Returns:
Type:
Dollarsign
this object