t.js
t.js copied to clipboard
⌨️ Lightweight $.Hypertext.Typewriter

⚠️ iOS 13.3 note (April 2020)
beep[:true] freezes the typewriter, read more: issue #11
Nice features 👌
- full
HTMLsupport - beep-beep
- Hypertypin' Markup Language (HTyML):
- deleting (
<del>) - mistyping (
<kbd>— optimized for en and de layouts) - delaying (numeric-filled
<ins>) - instant inserts (non-numeric
<ins>) - typing speed change (numeric-filled
<s>)
- deleting (
Docs/demos
Latest changes
| v | |
|---|---|
| 1.5.6 | multiline <del> fix |
| 1.5.5 | .t_off() fix |
| 1.5.4 | added queued type processing ($(elm).t('queue',content) / $(elm).q(content)) |
| 1.5.3 | added .t_off([true]) method to destroy typer's instance |
| 1.5.1 | added typing-speed-change at runtime: <s> / $(elm).s(ms) |
| 1.3.1 | pause_on_tab_switch minor fix: keep previously paused $(elm) paused if window/tab is reactivated |
| 1.3 | added pause_on_tab_switch setting (Page Visibility API) |
| 1.2 | beep-relevant AudioContext fix (Safari-required webkit prefix) |
💾 Font recommendations
- Steps Mono
- Hack
- Iosevka (↗)
- Lab Mono
- Monoid
- Victor Mono
- Tamzen
- x3x3
- Whois mono
- Fixedsys Excelsior
- PICO-8 Programming Fonts
- IBM Plex Mono (↗)
- ChicagoFLF (↗)
- VT323 (↗)
- THE OLDSCHOOL PC FONT RESOURCE (↗)
- 1980XX (↗)
- Decima Mono (↗/$)
CDN
https://cdn.jsdelivr.net/gh/mntn-dev/t.js/t.min.js
License
MIT<https://mit-license.org/>