vue2-waterfall
Overview
An AutoHeight Waterfall Component For Vue2
Install
Install vue2-waterfall
npm install vue2-waterfall
Import vue2-waterfall
ES6/commonjs import style is supported.
// ES6; // commonjsconst Waterfall = Waterfall;const WaterfallItem = WaterfallItem;
or link as a script
in an html file and access global variable Vue2Waterfall
.
<script src="dist/vue2-waterfall.js"></script>
Usage
item1 item2 item3 ...
options
Option | Description | default | type |
---|---|---|---|
options | masonry options | {} | Object |
LICENSE
MIT@PLDaily