Skip to content

07akioni/vueuc

Repository files navigation

Vueuc

codecov Total alerts License

Util Components for Vue.

Preview

https://vueuc.vercel.app

Components

VBinder

Includes v-binder, v-follower and v-target.

Content in v-follower will track v-target. Use v-binder to wrap 1 v-target and 1 or more v-target.

For more API please read the source code. I'm too lazy to write them since I'm the only one that uses the library.

<v-binder>
  <v-target>
    <target-element />
  </v-target>
  <v-follower show placement="top">
    <follwer-element-1 />
  <v-follower>
  <v-follower show placement="bottom">
    <follwer-element-1 />
  <v-follower>
</v-binder>

VVirtialList

A simple virtual list which supports flexable-height items

VXScroll

All content inside it to be scroll in X direction when you wheel at Y direction.

VResizeObserver

<v-resize-observer :on-resize="handleResize">
  <el />
</v-resize-observer>