GithubHelp home page GithubHelp logo

vue-typed-text's Introduction

vue-typed-text

A vue plugin for rendering text-typing animation

Introduction

With this plugin you can render a typing effect on your application or website. It may be configured to have a fixed text, and any number of typed texts. It also allows to define speed and delays. Please check the configuration section for further details.

You can see an example on my website http://www.robertogallea.com

Example

Installation

You can install the package using npm with:

npm i vue-typed-text

Usage

In order to use the package, import it in your main assets

import VueTyping from 'vue-typed-text'

Vue.use(VueTyping)

Then you can use it in your application

Example

<text-typing fixed-text="Read while I type about"
             :texts="['Javascript', 'Vue', 'Anything else', 'Do you like it?']"
             :speed="100"
             :delay="3000"
             fixed-text-class="text-white"
             dynamic-text-class="text-teal-200"
             caret-class="text-white"></text-typing>

Configuration

Property Description Type Required Default value
fixed-text The text which is always shown 207-210mA No Empty string
texts An array of typed texts Array Yes
Speed The speed of the typing animation in ms for character Number No 100
Delay The amount of time (in ms) waited before typing the next text Number No 3000
fixed-text-class The class(es) to apply to the fixed text String Array No
dynamic-text-class The class(es) to apply to the typed text String Array No
caret-class The class(es) to apply to the caret character String Array No

vue-typed-text's People

Contributors

robertogallea avatar

Stargazers

Fella_Dolphin avatar  avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.