1.1.8 • Published 7 years ago
tilesjs-gridparser v1.1.8
tilesjs-gridparser
Installation
$ npm install tilesjs-gridparser --save
Setup
import gridparser from 'tilesjs-gridparser'
//create Grid -> smart Autoparsing inside method
var grid = gridparser.createGridFromJSON(document.getElementById('grid'), json1);
//update Grid
gridparser.updateTilesGridByJSON(grid, json2);
Methods
// parse JSON and get object containing tilesjs gridtemplates for every breakpoint and further information
parseJSON(json);
// get ready to use tilesjs grid by JSON with implemented resize handler
var grid = createGridFromJSON(el, json);
//update existing tilesjs grid by JSON
updateTilesGridByJSON(grid, json);
//check if module is imported correctly
testModule();
1.1.8
7 years ago
1.1.7
7 years ago
1.1.6
7 years ago
1.1.5
7 years ago
1.1.4
7 years ago
1.1.3
7 years ago
1.1.2
7 years ago
1.1.1
7 years ago
1.1.0
7 years ago
1.0.9
7 years ago
1.0.8
7 years ago
1.0.7
7 years ago
1.0.6
7 years ago
1.0.5
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago