Socket
Book a DemoInstallSign in
Socket

milo-grid

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

milo-grid

Javascript Grid fallback for browsers that dont support column-count

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Milo

Milo

A small pure javascript grid that provides as a nice fallback to browsers that don't currently support column-count such as IE8, IE9

Simple usage:

Check out the demo

Use browserify for client commonjs require

npm install -g browserify

var Milo = require('./milo');

var milo = new Milo({
    container: '.grid'
});

window.addEventListener('load', milo.buildGrid);

HTML can be formatted like so:

<div class="grid">
    <div class="grid-item">...</div>
    <div class="grid-item">...</div>
    <div class="grid-item">...</div>
    <div class="grid-item">...</div>
    ...
</div>

Keywords

grid

FAQs

Package last updated on 17 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts