All Projects → EdernClemente → Typelighterjs

EdernClemente / Typelighterjs

Licence: mit
Take a stride into the world of dynamic and appealing typewriters. You can be sure that you will never even think of looking back.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Typelighterjs

Typeit
The most versatile JavaScript typewriter effect library on the planet.
Stars: ✭ 2,406 (+818.32%)
Mutual labels:  typography, javascript-library
diaeresis
A lightweight (<1kb minified + gzipped) JavaScript library that lets you wield diæreses like C̶h̶u̶c̶k̶ Mary Norris:
Stars: ✭ 15 (-94.27%)
Mutual labels:  typography, javascript-library
indexed-string-variation
Experimental JavaScript module to generate all possible variations of strings over an alphabet using an n-ary virtual tree
Stars: ✭ 16 (-93.89%)
Mutual labels:  javascript-library
Gutenberg
A meaningful web typography starter kit.
Stars: ✭ 2,765 (+955.34%)
Mutual labels:  typography
validate-polish
Utility library for validation of PESEL, NIP, REGON, identity card etc. Aimed mostly at Polish enviroment. [Polish] Walidacja numerów pesel, nip, regon, dowodu osobistego.
Stars: ✭ 31 (-88.17%)
Mutual labels:  javascript-library
huozi.js
A simple typography engine for CJK languages, especially designed for game rich-text. 用于游戏富文本的中日韩文字排印引擎。
Stars: ✭ 135 (-48.47%)
Mutual labels:  typography
xss-firewall
xss monitor and intercept
Stars: ✭ 16 (-93.89%)
Mutual labels:  javascript-library
excel-date-to-js
Convert Excel date in integer format into JS date. Dates are stored as numbers in Excel and count the number of days since January 0, 1900 (1900 standard, for mac it is 1904, which means January 0, 1904 is the start date). Times are handled internally as numbers between 0 and 1.
Stars: ✭ 26 (-90.08%)
Mutual labels:  javascript-library
Jschema
A simple, easy to use data modeling framework for JavaScript
Stars: ✭ 261 (-0.38%)
Mutual labels:  javascript-library
lexicon-mono-seq
DOM Text Based Multiple Sequence Alignment Library
Stars: ✭ 15 (-94.27%)
Mutual labels:  javascript-library
tiny-lit
JavaScript library for building user interfaces using template literals
Stars: ✭ 17 (-93.51%)
Mutual labels:  javascript-library
Tourney
3 axes/variable/no curves
Stars: ✭ 20 (-92.37%)
Mutual labels:  typography
spacers
🔳 when you need more __space__ for your no-code tools.
Stars: ✭ 211 (-19.47%)
Mutual labels:  javascript-library
filestorage.js
Filestorage.js is client library for SKALE sidechain decentralized file storage. Used to transfer files between a browser and a SKALE sidechain.
Stars: ✭ 25 (-90.46%)
Mutual labels:  javascript-library
Tui
This is a high quanlity components library for VUE
Stars: ✭ 258 (-1.53%)
Mutual labels:  javascript-library
typeset.css
✍ tr.v. type·set To set (written material) into type; compose.
Stars: ✭ 19 (-92.75%)
Mutual labels:  typography
previewSlider
Responsive fullscreen image slider where the users are able to preview next/previous image when hovering over the navigation arrows.
Stars: ✭ 16 (-93.89%)
Mutual labels:  javascript-library
afinn
Sentiment Analysis in Javascript using the AFINN Lexicon
Stars: ✭ 26 (-90.08%)
Mutual labels:  javascript-library
Ellipsed
A JavaScript library for multilined ellipsis
Stars: ✭ 261 (-0.38%)
Mutual labels:  javascript-library
Blotter
A JavaScript API for drawing unconventional text effects on the web.
Stars: ✭ 2,833 (+981.3%)
Mutual labels:  typography

TypeLighter.js - Just 1.04KB gzip - 12x lighter


The world's lightest yet most powerful JS TypeWriter out there. (Without JQUERY)
For more information, please, check typelighterjs.com.

Download ZIP

Description :

TypeLighter.js is a free plugin to add typewriters in your web page. With this plugin, eight properties allow you to fine-tune the experience you want to share with your users. Most of them are predefined, but you can change their values using the data attribute.

Files :

There are three files in the compressed folder :

  • README.md
  • typelighter.js
  • typelighter.min.js -> minified file

Installation :

Place the .js file in your folder and import it after the body tag :

<script src ="your file path/typelighter.min.js"></script>

You can also use the CDN version :

<script src ="https://cdn.jsdelivr.net/npm/typelighterjs/typelighter.min.js"></script>

Add a new typewriter with a span tag :

<p><span class="typeWriter" data-text='["foo"]'></span></p>

Properties list :

Property Default value Use
data-text Null The array holding the strings to be written one after the other.
data-speed 1 The writing speed is proportionnal to this integer.
data-start 500 (ms) A delay before writing the next string.
data-end 2000 (ms) A delay before deleting the current string.
data-random True When enabled, the TypeWriter waits for a random time before writing or deleting the next character.
data-max Infinity The maximum number of full iterations before the TypeWriter stops itself.
data-dltSpeed True When enabled, a given string is deleted twice as fast as it is written.
data-checkVisible False When enabled, the animation begins right when the element appears in the viewport.

Example :

<p><span class="typeWriter" data-checkVisible="true"  data-speed="2" data-text='["foo", "example"]'></span></p>
<p>Hello <span class="typeWriter" data-end="3000" data-text='["guys !", "world !"]'></span></p>

CSS :

The CSS is automatically injected in the DOM for convenience, though you could also paste it in your CSS file :

.cursor {
  color:inherit;
  position:relative;
  font:inherit;
  color:inherit;
  line-height: inherit;
  animation: Cursor 1s infinite;
}

@keyframes Cursor{
  0%{opacity: 1;}
  50%{opacity: 0;}
  100%{opacity: 1;}
}

Enjoy 😍

This project is licensed under the terms of the MIT license.

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].