0.1.1 • Published 8 months ago

vue-flow-layout v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Features

  • 🌊 Waterfull layout
  • 📦 Lightweight
  • 🎨 Elegant transition
  • 📱 Responsive

Install

pnpm add vue-flow-layout

Usage

import { createApp } from 'vue'
import VueFlowLayout from 'vue-flow-layout'
import App from './App.vue'

createApp(App).use(VueFlowLayout).mount('#app')

Use in your component:

<template>
  <FlowLayout>
    <div v-for="i in 100" :key="i" class="item">
      {{ i }}
    </div>
  </FlowLayout>
</template>

Props

NameTypeDefaultDescription
colsnumber2The number of columns
gapnumber | number, number4The gap between items for XY
durationnumber350msThe transition duration

Credits

license

MIT

0.1.0

8 months ago

0.1.1

8 months ago

0.0.5

9 months ago