/t.js

⌨️ Lightweight $.Hypertext.Typewriter

Primary LanguageJavaScriptMIT LicenseMIT

$.t.js

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