vue 模拟点击组件
打字机 (vue typer)
Vue component that simulates a user typing, selecting, and erasing text.
Vue组件,用于模拟用户键入,选择和擦除文本。
VueTyper does not have any direct dependencies to any library or framework -- not even to Vue itself! Any required Vue API calls are made through Vue's this.$* context methods. This means VueTyper can only execute within a Vue application context, but in exchange, it does not need to pull in Vue (which keeps vue-typer lightweight).
VueTyper没有任何库或框架的直接依赖关系-甚至没有Vue本身! 任何必需的Vue API调用都是通过Vue的this。$ *上下文方法进行的。 这意味着VueTyper只能在Vue应用程序上下文中执行,但作为交换,它不需要拉入Vue(这使vue-typer保持轻量级)。
Vue v2.x
Vue v2.x
VueTyper has not been tested in Vue v1.x. (See here for migration instructions from Vue 1.x to 2.x.)
VueTyper尚未在Vue v1.x中进行测试。 (有关从Vue 1.x到2.x的迁移说明,请参见此处。)
现场演示 (Live Demo)
https://cngu.github.io/vue-typer/
https://cngu.github.io/vue-typer/
翻译自: https://vuejsexamples.com/vue-component-that-simulates-a-user-typing/
vue 模拟点击组件