All Projects → hsynlms → autotyperjs

hsynlms / autotyperjs

Licence: MIT License
A vanilla javascript plugin for animated typewriting

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to autotyperjs

TypeLighterJS-Typewriter
Take a stride into the world of dynamic and appealing typewriters. You can be sure that you will never even think of looking back.
Stars: ✭ 266 (+2116.67%)
Mutual labels:  typewriter, text-effects, text-animation
Typeit
The most versatile JavaScript typewriter effect library on the planet.
Stars: ✭ 2,406 (+19950%)
Mutual labels:  typewriter, text-effects, text-animation
Typer.js
Typing effect completely configurable in HTML.
Stars: ✭ 111 (+825%)
Mutual labels:  typewriter
kobowriter
A simple typewriter written in go for KOBO e-readers
Stars: ✭ 250 (+1983.33%)
Mutual labels:  typewriter
preact-component-console
A console emulator for preact.
Stars: ✭ 29 (+141.67%)
Mutual labels:  typewriter
TET-GAN
[AAAI 2019] TET-GAN: Text Effects Transfer via Stylization and Destylization
Stars: ✭ 74 (+516.67%)
Mutual labels:  text-effects
IHTypeWriterLabel
No description or website provided.
Stars: ✭ 24 (+100%)
Mutual labels:  typewriter
TextBlockFX
A TextBlock control which animates the text with customizable effects.
Stars: ✭ 36 (+200%)
Mutual labels:  text-animation
amiri-typewriter
Mono-width companion to Amiri font family
Stars: ✭ 23 (+91.67%)
Mutual labels:  typewriter
glitched-writer
Glitched, text writing js module. Highly customizable settings. Decoding, decrypting, scrambling, or simply spelling out text.
Stars: ✭ 51 (+325%)
Mutual labels:  text-animation
react-typewriter-js
Simple vanilla JS script to simulate text typewriting effect.
Stars: ✭ 18 (+50%)
Mutual labels:  typewriter
use-typewriter
useTypewriter
Stars: ✭ 43 (+258.33%)
Mutual labels:  typewriter
simple-obs-stt
Speech-to-text and keyboard input captions for OBS.
Stars: ✭ 89 (+641.67%)
Mutual labels:  text-animation
typed.css
A fully functional and flexible typewriter mixin for SCSS, with Less and Stylus support coming soon! Typed.css supports multiple strings, multi-line strings, variable speeds, per-string styling, animated caret (blinking insertion cursor), directional type-pausing, and much more. It's even accessible! ✨
Stars: ✭ 113 (+841.67%)
Mutual labels:  typewriter
react-native-speech-bubble
💬 A speech bubble dialog component for React Native.
Stars: ✭ 50 (+316.67%)
Mutual labels:  typewriter
TypeWriting.js
javascript library: make the typewriter effect.
Stars: ✭ 41 (+241.67%)
Mutual labels:  typewriter
Fancyinput
Makes typing in input fields fun with CSS3 effects
Stars: ✭ 1,946 (+16116.67%)
Mutual labels:  text-effects

AutoTyper JS

A vanilla javascript plugin for animated typewriting.

Downloads install size

autotyperjs can be accessable in global variable as autoTyper. It exposes outside two functions, start and stop. Multiple instances can be created by using new keyword. Its compatible with Chrome, Firefox, Safari, Internet Explorer and Edge.

  • start() : starts AutoTyper on target element.
  var options = {
    selector: '.content > h1',
    words: ['hello', 'world']
  }

  // start autoTyper
  var typer = new autoTyper(options)
  typer.start()
  • stop() : stops AutoTyper.
  // stop autoTyper
  typer.stop()

Demo on Codepen : https://codepen.io/hsynlms/pen/gzapPz

Available options

Below options can be given to customize AutoTyper before start.

  // available custom options
  var options = {
    selector: '.typerTarget', // target element selector
    words: [], // words/sentences that will be auto typed
    charSpeed: 85, // letter typing animation speed
    delay: 2100, // word/sentence typing animation delay
    loop: true, // if loop is activated, autoTyper will start over
    flipflop: true // if flipflop is activated, letters which are typed animated will be removed ony by one animated
  }

How about blinking caret?

For better typewriting experience, blinking caret is a must. It's optional to use with autoTyper together. You only have to do is giving below styles for autoTyper target element by yourself.

The HTML side will be like:

<div class="typerTarget"></div>

The CSS side will be like:

@-webkit-keyframes blink-caret {
  50% {
    border-color: transparent;
  }
}

.typerTarget {
  border-right: 1px solid #404145;
  -webkit-animation: blink-caret 0.5s step-end infinite alternate;
          animation: blink-caret 0.5s step-end infinite alternate;
}
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].