https://github.com/thomasisberg/tin-grid-js
https://github.com/thomasisberg/tin-grid-js
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thomasisberg/tin-grid-js
- Owner: thomasisberg
- Created: 2018-03-15T06:24:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-02-17T07:42:20.000Z (over 4 years ago)
- Last Synced: 2025-10-22T19:48:18.508Z (8 months ago)
- Language: JavaScript
- Size: 1.41 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tin-grid-js
Responsive, dependency free grid system for Javascript
## Installation options
```
yarn add tin-grid --save
```
```
nmp install tin-grid --save
```
```
bower install tin-grid --save
```
## Usage
### As a module
```
import TinGrid from 'tin-grid';
TinGrid(document.getElementById('TinGrid'), {
itemHeightType: "ratio",
itemHeight: 1,
useTransition: true
});
```
### Script tag
You can choose to load the script separately, or implement the script in your pre processor any way you like.
```
```