Skip to content
This repository was archived by the owner on Dec 22, 2022. It is now read-only.
/ t.js Public archive

⌨️ Lightweight $.Hypertext.Typewriter

License

Notifications You must be signed in to change notification settings

mntn-dev/t.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a5b6dd4 · May 17, 2021
Oct 10, 2014
May 17, 2021
Mar 18, 2019
Dec 10, 2018
Aug 6, 2019
Aug 6, 2019

Repository files navigation

GitHub release (latest by date) jsDelivr hits (GitHub) GitHub GitHub issues GitHub issues



$.t.js


⚠️ iOS 13.3 note (April 2020)

beep[:true] freezes the typewriter, read more: issue #11

Nice features 👌

  • full HTML support
  • 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>)

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


CDNhttps://cdn.jsdelivr.net/gh/mntn-dev/t.js/t.min.js

LicenseMIT <https://mit-license.org/>