createEvents

createEvents

Methods

(static) attach(fns, root) → {void}

Source:
Parameters:
Name Type Description
fns Array

an array of cuntions

root HTMLElement

the element to delegate to

Returns:
Type
void

(static) attachAll(root)

Source:
Parameters:
Name Type Description
root HTMLElement

the element to delegate to

(static) destroy() → {void}

Source:
Returns:
Type
void

(static) destroy(root, event) → {void}

Source:
Parameters:
Name Type Description
root HTMLElement

the element to trigger an event on

event String

the name of the event to trigger

Returns:
Type
void

(static) remove(fns) → {void}

Source:
Parameters:
Name Type Description
fns Array

an array of cuntions

Returns:
Type
void