Lightweight Animated Typing Component With Vuejs

Description:

A dead simple and super tiny Vue.js component for animated typing in Vue.js app.

Install & Download:

# NPM
$ npm install vue-typical --save

How to use it:

  1. Install and import.
import typical from 'vue-typical'
  1. 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>
  1. Register the component.
export default {
  name: 'app',
  data: function() {
    return {
      msg: 'vue typical'
    }
  },
  components: {
    typical
  }
}
  1. Possible props.
steps: {
  type: Array,
  required: true
},
wrapper: {
  type: String,
  default: 'div'
},
loop: {
  type: Number,
  default: 1 // or 'Infinity'
}

Download Details:

Author: Turkyden

Live Demo: https://turkyden.github.io/vue-typical/

Download Link: https://github.com/Turkyden/vue-typical/archive/master.zip

Official Website: https://github.com/Turkyden/vue-typical

#vuejs #javascript #vue-js

Lightweight Animated Typing Component With Vuejs
2.95 GEEK