API Docs for:
Show:

Bromine Class

Defined in: src/Bromine.js:406
Module: Bromine

Item Index

Methods

fireEvent

(
  • el
  • type
)
static

Defined in bin/bromine.js:967

Dispatches a DOM event on a given element

Parameters:

fireEvent

(
  • el
  • type
)
static

Defined in src/Bromine.js:410

Dispatches a DOM event on a given element

Parameters:

fireEventWithDelay

(
  • el
  • type
  • callback
  • [delay=500]
)
static

Defined in bin/bromine.js:1075

Dispatches a DOM event on an element, then dispatches a callback after given delay

Parameters:

fireEventWithDelay

(
  • el
  • type
  • callback
  • [delay=500]
)
static

Defined in src/Bromine.js:518

Dispatches a DOM event on an element, then dispatches a callback after given delay

Parameters:

fireKeyboardEvent

(
  • el
  • type
  • params
)
static

Defined in bin/bromine.js:1039

Fires a keyboard event on element

Additional parameters can be:

ctrl, alt, shift, meta, key, charCode

Parameters:

fireKeyboardEvent

(
  • el
  • type
  • params
)
static

Defined in src/Bromine.js:482

Fires a keyboard event on element

Additional parameters can be:

ctrl, alt, shift, meta, key, charCode

Parameters:

fireMouseEvent

(
  • el
  • type
  • params
)
static

Defined in bin/bromine.js:990

Fires a mouse event on element

Additional parameters can be:

x, y, details, button, ctrl, alt, shift, meta, relatedTarget

if no x/y supplied, will use element position

Parameters:

fireMouseEvent

(
  • el
  • type
  • params
)
static

Defined in src/Bromine.js:433

Fires a mouse event on element

Additional parameters can be:

x, y, details, button, ctrl, alt, shift, meta, relatedTarget

if no x/y supplied, will use element position

Parameters: