GithubHelp home page GithubHelp logo

anyishxyi / vuejs-typist Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 752 KB

A component for Vue.js that simulates a real person typing and deleting their text.

License: MIT License

JavaScript 11.00% HTML 22.03% Vue 66.98%

vuejs-typist's Introduction

Vuejs-typist

A component for Vue.js that simulates a real person typing and deleting their text.

Installation

yarn add vue-typist
# or
npm install --save vuejs-typist

Usage

Import the component either locally..

import vuejsTypist from 'vuejs-typist'

export default {
    components: {
        vuejsTypist
    }
}

.. or globally

import vuejsTypist from 'vuejs-typist'
Vue.use(vuejsTypist);

You can now use the <vuejsTypist /> component. See the documentation for the supported options.

Documentation

Option Type Default Explanation
words (required) Array[String] - An array of words you want to be typed out.
type-interval Number 50 The delay between each keystroke. In milliseconds.
pause-interval Number 2000 The pause after a word has been typed and after it has been erased. In milliseconds.
human Boolean false A changing delay between keystrokes which makes the typing feel more "human".

License

This project is licensed under the MIT License - see the license file for details.

vuejs-typist's People

Contributors

anyishxyi avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 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.