Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Learnvue | 12,190 | 8 months ago | 20 | JavaScript | ||||||
:octocat:Vue.js 源码解析 | ||||||||||
Vue Virtual Scroller | 8,541 | 173 | 357 | 15 days ago | 83 | February 06, 2023 | 195 | Vue | ||
⚡️ Blazing fast scrolling for any amount of data | ||||||||||
Vue Analysis | 7,474 | 2 months ago | 67 | mit | JavaScript | |||||
:thumbsup: Vue.js 源码分析 | ||||||||||
Spritejs | 5,246 | 6 | 29 | 12 days ago | 432 | December 13, 2022 | 68 | mit | JavaScript | |
A cross platform high-performance graphics system. | ||||||||||
Portal Vue | 3,784 | 1,560 | 364 | 2 months ago | 43 | December 11, 2022 | 38 | mit | Vue | |
A feature-rich Portal Plugin for Vue 3, for rendering DOM outside of a component, anywhere in your app or the entire document. (Vue 2 version: v2.portal-vue.linusb.org) | ||||||||||
Happy Dom | 2,349 | 4 | 1,499 | 17 hours ago | 414 | August 22, 2023 | 104 | mit | TypeScript | |
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML. | ||||||||||
Vue Tour | 2,163 | 48 | 22 | 10 months ago | 13 | March 28, 2021 | 63 | mit | Vue | |
Vue Tour is a lightweight, simple and customizable guided tour plugin for use with Vue.js. It provides a quick and easy way to guide your users through your application. | ||||||||||
Vue2 | 2,001 | 3 years ago | 4 | JavaScript | ||||||
小白入坑vue三部曲,关于 vue 在工作的使用问题总结,请看博客 https://sunseekers.github.io/ 一直保持更新 | ||||||||||
Fe | 1,864 | 7 months ago | 87 | JavaScript | ||||||
前端 100 天,帮助 10W 人入门并进阶前端。 | ||||||||||
Knowledge | 1,782 | 7 months ago | 1 | JavaScript | ||||||
文档着重构建一个完整的「前端技术架构图谱」,方便 F2E(Front End Engineering又称FEE、F2E) 学习与进阶。 |
The library function, implemented in the DOM template, can use the custom event of the ant-design-vue component (camelCase)
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/index.min.js"></script>
<script>
Vue.use(window['vue-dash-event'])
</script>
Unlike components and props, event names don’t provide any automatic case transformation. Instead, the name of an emitted event must exactly match the name used to listen to that event. For example, if emitting a camelCased event name:
this.$emit('myEvent')
Listening to the kebab-cased version will have no effect:
<my-component v-on:my-event="doSomething"></my-component>
Unlike components and props, event names will never be used as variable or property names in JavaScript, so there’s no reason to use camelCase or PascalCase. Additionally, v-on
event listeners inside DOM templates will be automatically transformed to lowercase (due to HTML’s case-insensitivity), so v-on:myEvent
would become v-on:myevent
– making myEvent
impossible to listen to.
But ant-design-vue use camelCase for event names. In order to properly monitor the internal camelCase events of the component.
If you use DOM templates, you must use <my-component v-on:my-event="doSomething"></my-component>
and Vue.use(window['vue-dash-event'])
. Then component will monitor the internal camelCase events of the component.