Install & Download:
# NPM
$ npm install vue-typical --saveDescription:
A dead simple and super tiny Vue.js component for animated typing in Vue.js app.
How to use it:
1. Install and import.
import typical from 'vue-typical'
2. In your app template:
<template>
<div id="app">
<typical
class="vt-title"
:steps="['Vue', 1000, 'Script', 500]"
:wrapper="'h2'"
></typical>
<typical
class="vt-subTitle"
:steps="['Vue', 1000, 'Script', 500, 'VueScript.com :-) 👋', 1000]"
:loop="3"
:wrapper="'h3'"
></typical>
</div>
</template>3. Register the component.
export default {
name: 'app',
data: function() {
return {
msg: 'vue typical'
}
},
components: {
typical
}
}4. Possible props.
steps: {
type: Array,
required: true
},
wrapper: {
type: String,
default: 'div'
},
loop: {
type: Number,
default: 1 // or 'Infinity'
}Preview:
See the Pen
vue-typical by turkyden (@turkyden)
on CodePen.
Changelog:
v2.1.0 (08/20/2021)
- updated for Vue 3
v1.6.1 (03/04/2021)
- feat: add the code typical effects
v1.5.1 (03/03/2021)
- bugfix
v1.5.0 (12/30/2020)
- feature: add blink style effect classname



