1.3.1 • Published 17 days ago

@gerardest/cascader v1.3.1

Weekly downloads
-
License
MIT
Repository
-
Last release
17 days ago

Very basic and tiny masonry layout (1kb). Responsive and resizeable blocks.

Codepen Example

Installation

npm install @gerardest/cascader

Usage

import {cascade} from './cascader.js'

Simplest usage is to call cascader passing the container of the masonry elements
cascade('#container')
or

let container = document.querySelector('#cascada')
cascade(container)

Options

cascade('#container', {
    minWidth: 200,
    gap: 20, // To set vertical and horizontal gap equally
    verticalGap : 30
    horizontalGap : 30
})
1.3.1

17 days ago

1.3.0

18 days ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago