1.0.5 • Published 1 month ago

@ileostar/v3-directives v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
1 month ago

☠v3-directives

screenshot

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

Static Badge Static Badge

🕹Usage

  1. Install package (安装依赖)
pnpm add @ileostar/v3-directives
# or
npm install @ileostar/v3-directives --save
  1. Registration Directive (注册指令)
import VueDirectives from "@ileostar/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.5

1 month ago

1.0.4

2 months ago

1.0.3

2 months ago

1.0.2

2 months ago

1.0.1

2 months ago

1.0.0

2 months ago

1.0.0-beta.0

2 months ago

0.0.5

2 months ago

0.0.4

3 months ago

0.0.3

3 months ago

0.0.2

3 months ago