resizer

resizer

Methods

(static) addWindowResizeEvent() → {Object}

Source:

add the window event - return a destroy method

Returns:
Type
Object

(static) getWindowProps() → {Object}

Source:
Returns:

with the current width/height/breakpoint

Type
Object

(static) mapEventsToResize(events) → {Object}

Source:
Parameters:
Name Type Description
events Array

array of functions to test/trigger

Returns:

with the current width/height/breakpoint

Type
Object

(static) windowResizeEvent() → {void}

Source:

The throttled window resize event

Returns:
Type
void