util-event

Methods

(inner) sendCustom(name, data)

Send Custom event
Parameters:
Name Type Description
name string custom event name
data object custom event data associated
Since:
  • 0.0.2
Source:
Example
// returns nothing
sendCustom('click-on-hidden-btn', {selector: '#hidden_btn_xyz'});