JSPM

vue-flow-grid

0.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q23032F
  • License MIT

A simple flow grid component for Vue.js

Package Exports

  • vue-flow-grid

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vue-flow-grid) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

vue-flow-grid

A simple flow grid component for Vue.js

How to use

Install

npm install vue-flow-grid

import

import Vue from 'vue'
import FlowGrid from 'vue-flow-grid'
Vue.use(FlowGrid);

example

<ul v-flowgrid="3">
    <li>111</li>
    <li>222</li>
    <li>333</li>
    <li>444</li>
    <li>555</li>
    <li>666</li>
    <li>777</li>
    <li>888</li>
</ul>

The code above will be compiled to:

<ul>
    <div id="vFlowgrid1" style="width: 20%; float: left;">
        <li>111</li>
        <li>444</li>
        <li>777</li>
    </div>
    <div id="vFlowgrid2" style="width: 20%; float: left;">
        <li>222</li>
        <li>555</li>
        <li>888</li>
    </div>
    <div id="vFlowgrid3" style="width: 20%; float: left;">
        <li>333</li>
        <li>666</li>
    </div>
</ul>

TODO LIST

  • test
  • lazyload