{"id":16345764,"url":"https://github.com/ileostar/v3-directives","last_synced_at":"2025-03-15T11:32:32.887Z","repository":{"id":221192046,"uuid":"753538543","full_name":"ileostar/v3-directives","owner":"ileostar","description":"☠Vue3 Custom directives. Vue3自定义指令库","archived":false,"fork":false,"pushed_at":"2024-10-07T00:15:14.000Z","size":1896,"stargazers_count":38,"open_issues_count":5,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-12T00:33:10.418Z","etag":null,"topics":["custom","directive","tools","typescript","v3-directives","vue3"],"latest_commit_sha":null,"homepage":"https://v3-directives.leostar.top","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ileostar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"open_collective":"LeoStar","ko_fi":"leostar"}},"created_at":"2024-02-06T10:19:29.000Z","updated_at":"2024-09-14T05:44:03.000Z","dependencies_parsed_at":"2024-02-20T15:27:27.711Z","dependency_job_id":"65fe12b1-0781-46cd-91a0-6d20f2437c16","html_url":"https://github.com/ileostar/v3-directives","commit_stats":null,"previous_names":["ileostar/v3-directives"],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ileostar%2Fv3-directives","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ileostar%2Fv3-directives/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ileostar%2Fv3-directives/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ileostar%2Fv3-directives/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ileostar","download_url":"https://codeload.github.com/ileostar/v3-directives/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221573427,"owners_count":16845835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["custom","directive","tools","typescript","v3-directives","vue3"],"created_at":"2024-10-11T00:33:16.060Z","updated_at":"2024-10-26T19:41:47.086Z","avatar_url":"https://github.com/ileostar.png","language":"TypeScript","funding_links":["https://opencollective.com/LeoStar","https://ko-fi.com/leostar"],"categories":[],"sub_categories":[],"readme":"# ☠v3-directives\n\n![screenshot](https://cdn.jsdelivr.net/gh/ileostar/picx-images/local/5465730512d71722380d1ecd6d7db6ae.png)\n\n☠Vue3 directives 自定义指令库: [📖 在线文档](https://v3-directives.leostar.top/)\n\n![Static Badge](https://img.shields.io/npm/v/@ileostar/v3-directives?color=409eff)\n![Static Badge](https://img.shields.io/github/stars/ileostar/v3-directives?style=social)\n\n## 🕹Usage\n\n1. Install package （安装依赖）\n\n```bash\npnpm add @ileostar/v3-directives\n# or\nnpm install @ileostar/v3-directives --save\n```\n\n1. Registration Directive （注册指令）\n\n```typescript\nimport VueDirectives from '@ileostar/v3-directives'\nconst app = createApp(App)\napp.use(router).mount('#app')\napp.use(VueDirectives)\n```\n\n## 🧩Directives\n\n| Directive                                                                             | Description                                       |\n| ------------------------------------------------------------------------------------- | ------------------------------------------------- |\n| [v-backtop](https://v3-directives.leostar.top/zh/directives/v-backtop.html)           | Add a return to top function for an element       |\n| [v-clickOutside](https://v3-directives.leostar.top/zh/directives/v-clickOutside.html) | Event when clicking outside the element triggers  |\n| [v-copy](https://v3-directives.leostar.top/zh/directives/v-copy.html)                 | Copy the passed value to the clipboard            |\n| [v-debounce](https://v3-directives.leostar.top/zh/directives/v-debounce.html)         | Anti-shaking function                             |\n| [v-doubleClick](https://v3-directives.leostar.top/zh/directives/v-doubleClick.html)   | Trigger an event on double-click                  |\n| [v-draggable](https://v3-directives.leostar.top/zh/directives/v-draggable.html)       | Makes elements draggable                          |\n| [v-ellipsis](https://v3-directives.leostar.top/zh/directives/v-ellipsis.html)         | Omit excess text                                  |\n| [v-emoji](https://v3-directives.leostar.top/zh/directives/v-emoji.html)               | Prohibit emoji input                              |\n| [v-empty](https://v3-directives.leostar.top/zh/directives/v-empty.html)               | Used to display empty status                      |\n| [v-flicker](https://v3-directives.leostar.top/zh/directives/v-flicker.html)           | Element flicker                                   |\n| [v-focus](https://v3-directives.leostar.top/zh/directives/v-focus.html)               | Input box autofocus                               |\n| [v-highlight](https://v3-directives.leostar.top/zh/directives/v-highlight.html)       | Text highlighting                                 |\n| [v-hover](https://v3-directives.leostar.top/zh/directives/v-hover.html)               | Triggers a callback after the element             |\n| [v-input](https://v3-directives.leostar.top/zh/directives/v-input.html)               | Input formatting                                  |\n| [v-lazyImg](https://v3-directives.leostar.top/zh/directives/v-lazyImg.html)           | Lazy image loading                                |\n| [v-loading](https://v3-directives.leostar.top/zh/directives/v-loading.html)           | Add loading animation                             |\n| [v-longpress](https://v3-directives.leostar.top/zh/directives/v-longpress.html)       | Trigger event when long pressing an element       |\n| [v-money](https://v3-directives.leostar.top/zh/directives/v-money.html)               | Format numbers into money format                  |\n| [v-onOnce](https://v3-directives.leostar.top/zh/directives/v-onOnce.html)             | Only one callback is triggered                    |\n| [v-permission](https://v3-directives.leostar.top/zh/directives/v-permission.html)     | Rapid realization of authentication               |\n| [v-resize](https://v3-directives.leostar.top/zh/directives/v-resize.html)             | Response to resize the element                    |\n| [v-ripple](https://v3-directives.leostar.top/zh/directives/v-ripple.html)             | Add ripple dynamic effects to the clicked element |\n| [v-slideIn](https://v3-directives.leostar.top/zh/directives/v-slideIn.html)           | Add entry animation                               |\n| [v-throttle](https://v3-directives.leostar.top/zh/directives/v-throttle.html)         | Throttling function                               |\n| [v-waterMarker](https://v3-directives.leostar.top/zh/directives/v-waterMarker.html)   | Add custom watermark                              |\n\n## 💖Contributors\n\nContributions are welcome, PR is welcome, More references [Participate in Open source](https://v3-directives.leostar.top/en/about/contribution.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fileostar%2Fv3-directives","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fileostar%2Fv3-directives","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fileostar%2Fv3-directives/lists"}