https://github.com/daniilsydorenko/chocolate.grid.js
Grid of web page elements(articles, images, posts)
https://github.com/daniilsydorenko/chocolate.grid.js
es6 front-end frontend-app grid gulp javascript ui webpack
Last synced: 3 months ago
JSON representation
Grid of web page elements(articles, images, posts)
- Host: GitHub
- URL: https://github.com/daniilsydorenko/chocolate.grid.js
- Owner: DaniilSydorenko
- License: mit
- Created: 2016-10-19T13:44:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T10:16:06.000Z (over 3 years ago)
- Last Synced: 2025-08-18T07:04:14.280Z (11 months ago)
- Topics: es6, front-end, frontend-app, grid, gulp, javascript, ui, webpack
- Language: JavaScript
- Homepage: https://daniilsydorenko.github.io/chocolate.grid.js-demo/
- Size: 2.06 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Chocolate.grid.js
========
[](https://opensource.org/licenses/MIT) [](https://travis-ci.org/DaniilSydorenko/chocolate.grid.js)
- [Introduction](#introduction)
- [Installation](#installation)
- [Bower](#bower)
- [NPM](#npm)
- [License](#license)
## Introduction
#### Welcome to Chocolate.grid.js.
Chocolate.grid.js this is the mechanism that structures the items in the grid. It based on plain JavaScript, WebPack Module...
## Installation
```
git clone https://github.com/DaniilSydorenko/chocolate.grid.js.git
```
### Bower
```
bower install or bower install --allow-root
```
### NPM
```
npm install --save-dev
```
## Configuration
Implement configuration code on the end of the page
```javascript
new Chocolate({
containerSelector: '.js-chocolate',
containerMaxWidth: 1400,
itemSelector: '.js-item',
columnWidth: 250,
columnMargin: 20
});
```
License
-------
The MIT License (MIT)
Copyright (c) 2018 Daniil Sydorenko
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.