Coffeekraken.io 0.0.1

Gridle.js

This little js file allow you to detect which or your gridle state is active, when states changes, etc...

Example

    import 'coffeekraken-gridle';
// optional setup
Gridle.init({settings});

Author : Olivier Bossel olivier.bossel@gmail.com

Settings

Here's the list of available settings.

onUpdate:

Callback when the state has changed

Type : { Function }

Default : null

debug:

Activate of not the debug outputs

Type : { Boolean }

Default : false

ignoredStates:

Set some states to ignore completely

Type : { Array }

Default : []

Methods

init:

Init gridle with some custom settings

Name Type Description Status Default
settings { Object } Some settings to override required

Default : function(settings) {