All Projects → nishutosh → typing.js

nishutosh / typing.js

Licence: MIT license
Js library for creating typing effect on webpage.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to typing.js

Homebridge Server
Server plugin for homebridge
Stars: ✭ 154 (+600%)
Mutual labels:  webpage
MirrorReflectionEffectForUGUI
A simple mirror reflection effect for a uGUI without reflection probes or shaders.
Stars: ✭ 99 (+350%)
Mutual labels:  effect
ME3ModManager
Legacy mod manager for Mass Effect 3 (superceded by ME3Tweaks Mod Manager)
Stars: ✭ 17 (-22.73%)
Mutual labels:  effect
Vinaysomawat.github.io
Portfolio webpage to showcase description of word experiences, educations, projects with demo images and reference links, programming profiles across all platforms and mooc/award certificates.
Stars: ✭ 166 (+654.55%)
Mutual labels:  webpage
Screenshot Stream
Capture screenshot of a website and return it as a stream
Stars: ✭ 228 (+936.36%)
Mutual labels:  webpage
FixLanguageTypeJs
Tiny Library for fix problem of language selection in type text.
Stars: ✭ 15 (-31.82%)
Mutual labels:  typing
Nim websitecreator
Nim fullstack website framework - deploy a website within minutes
Stars: ✭ 124 (+463.64%)
Mutual labels:  webpage
BF4-Server-Stats
BF4 Server Stats Web Page using XpKiller's Procon Stats Logging plugin.
Stars: ✭ 21 (-4.55%)
Mutual labels:  webpage
hackertyper
"Hack" like a programmer in movies and games! Inspired by hackertyper.net
Stars: ✭ 39 (+77.27%)
Mutual labels:  typing
Shimmer-ReactNative
React Native Shimmer
Stars: ✭ 38 (+72.73%)
Mutual labels:  effect
Urlwatch
urlwatch monitors webpages for you
Stars: ✭ 2,294 (+10327.27%)
Mutual labels:  webpage
Termpage
Termpage allows you to create neat functional webpages that behave like a terminal
Stars: ✭ 224 (+918.18%)
Mutual labels:  webpage
tiny-typed-emitter
Fully type-checked NodeJS EventEmitter
Stars: ✭ 96 (+336.36%)
Mutual labels:  typing
Pywebcopy
Python library to mirror webpage and websites.
Stars: ✭ 156 (+609.09%)
Mutual labels:  webpage
readability-cli
A CLI for Mozilla Readability. Get clean, uncluttered, ready-to-read HTML from any webpage!
Stars: ✭ 41 (+86.36%)
Mutual labels:  webpage
Jsondiscoverer
JSON model discoverer
Stars: ✭ 129 (+486.36%)
Mutual labels:  webpage
EasyConfetti
🎊 Fancy confetti effects in Swift
Stars: ✭ 557 (+2431.82%)
Mutual labels:  effect
pybind11-stubgen
Generates stubs for python modules (targeted to C++ extensions compiled with pybind11)
Stars: ✭ 103 (+368.18%)
Mutual labels:  typing
FunFilter
Freely painted area, the software will automatically add filter on its.
Stars: ✭ 15 (-31.82%)
Mutual labels:  effect
type-hangul
⌨️ 한글 타이핑 효과 라이브러리
Stars: ✭ 80 (+263.64%)
Mutual labels:  typing

Logo

Typing.js is a pure javascript library which allows you to emulate the most realistic typing effect on your web page in the fastest way possible. You can change line, backspace words, and put typing on hold. Wanna see watch it here

Getting started

  • Firsty, get the typing/typing.min.js file

  • Then, just add these lines to your html file

    <script src="typing.min.js"></script>
    <script>
        var typing=Typing("hello how are you.")
        typing();
    </script>
  • And, place these span tags where you want your cursor effect.

    <span id="text"></span>
    <span id="blinker">|</span>

its done, you may style your blinker and text now.

How to create effects:

You can add three functionalities to your cursor:

1.Delay(~1000~): It makes cursor to stay at that place for 1000ms.

    var typing=Typing("hey i will wait for 1 sec now~1000~ k one sec is over.")
    typing();

2.Nextline(@): It makes the cursor to move on to the next line.

    var typing=Typing(" line 1 @line 2");
    typing();

3.Backspace(*backspace*):It makes cursor backspace words. Just follow these two instructions to use it:

  • Type your string that is to be backspaced.like: var typing=Typing("hey i want to backscpace apple");

  • Then write the text you want to backspace between **.like: var typing=Typing("hey i want to backscpace apple*apple* now apple is backspaced");

Note:Let me name the content to be backspaced as backsentence for the ease of explaining it. Firstly do watch out for whitespaces while writing backsentence. It should be exact copy of text that it has to backspace. Like for eg apple *apple* will fail because actual sentence has a white space in the end, while backsentence does not. Secondly do not include wait or next line in backsentence. Like apple*ap@ple* would also fail.

Parameters :

    var typing=Typing("hello how are you.",typing speed,blink speed,backspace speed,textspanid,blinkerspanid)
    typing();

lets look at these Parameters:

  1. typing speed: Typing speed in milliseconds. (default 100).
  2. blink speed: Cursor blink speed in milliseconds. (default 300)
  3. backspace speed: Cursor speed in milliseconds while backspacing words. (default 100)
  4. textspanid:Your text span id name. (default text)
  5. blinkerspanid:Your blinker span id name. (default blinker)

Contribute :

It would be great to have your contribution in this project.

Just simply follow these rules while contributing:

  • Always start with writing an issue before making a pull request.
  • Try to make a pull request in the development branch not in the master branch of this project.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].