1.0.7 • Published 8 months ago

@eonova/v3-directives v1.0.7

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

☠v3-directives

screenshot

☠Vue3 directives 自定义指令库: 📖 在线文档

Static Badge Static Badge

🕹Usage

  1. Install package (安装依赖)
pnpm add @eonova/v3-directives
# or
npm install @eonova/v3-directives --save
  1. Registration Directive (注册指令)
import VueDirectives from '@eonova/v3-directives'
const app = createApp(App)
app.use(router).mount('#app')
app.use(VueDirectives)

🧩Directives

DirectiveDescription
v-backtopAdd a return to top function for an element
v-clickOutsideEvent when clicking outside the element triggers
v-copyCopy the passed value to the clipboard
v-debounceAnti-shaking function
v-doubleClickTrigger an event on double-click
v-draggableMakes elements draggable
v-ellipsisOmit excess text
v-emojiProhibit emoji input
v-emptyUsed to display empty status
v-flickerElement flicker
v-focusInput box autofocus
v-highlightText highlighting
v-hoverTriggers a callback after the element
v-inputInput formatting
v-lazyImgLazy image loading
v-loadingAdd loading animation
v-longpressTrigger event when long pressing an element
v-moneyFormat numbers into money format
v-onOnceOnly one callback is triggered
v-permissionRapid realization of authentication
v-resizeResponse to resize the element
v-rippleAdd ripple dynamic effects to the clicked element
v-slideInAdd entry animation
v-throttleThrottling function
v-waterMarkerAdd custom watermark

💖Contributors

Contributions are welcome, PR is welcome, More references Participate in Open source

1.0.7

8 months ago

1.0.6

8 months ago