GithubHelp home page GithubHelp logo

birajrai / typer Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 4 KB

Typer is a tiny lightweight JavaScript plugin for adding nice, customizable Typer effect using custom HTML5 attribute

License: MIT License

JavaScript 100.00%
typer typing-animation typing-effect typings

typer's Introduction

Typer

Typer is a tiny lightweight JavaScript plugin for adding nice, customizable Typer effect using custom HTML5 attributes. This plugin is written in native JavaScript ES6 and does not requires any dependencies!

if you have an issue/idea, please feel free to fork the repo or send me a push request and i'll be happy to push it.

Usage

  1. Load the minified version typer.min.js by placing the script tag before the closing Body tag for better page speed performance.
<script src="js/typer.min.js"></script>
  1. Create an empty span tag with class name typewrite. You're able to pass the options using the custom HTML5 attributes:
  • data-loop: Stop the typing loop. Value shoud be yes or no
  • data-speed: Typing speed in millisecond. Default value is 100
  • data-delay: Time delay after word is complete in millisecond. Default value is 1000
  • data-words: Words to add separated by comma i.e. ["...","...","..."]
<h3>Hey, I'm
    <span class="typewrite" data-loop="yes" data-speed="100" data-delay="1000" data-words='["word 1", "word 2", "word 3"]'></span>
</h3>

typer's People

Contributors

birajrai avatar

Stargazers

 avatar  avatar

Watchers

 avatar

typer's Issues

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.