0.1.5 • Published 3 months ago

typetestr v0.1.5

Weekly downloads
-
License
-
Repository
github
Last release
3 months ago

typetestr (unfinished yet)

testr illustraition

Simple script for change font size element.

Get dist/typetestr.js. Add script as a module. let tt = new TypeTestr(). Script adds rage input and makes element contenteditable.

import TypeTestr from './typetestr.js'
// create new object on page load
let tt = new TypeTestr() // or new TypeTester("my-class-name")

In constructor you can specify class name and initial font size:

new TypeTestr(className:string="typetestr") //"typetestr" — default class name

Add dist/typetestr.css for styling.


Write with vitejs, typescript (es6 module)

run npm run dev for development run npm run build for comlile js and css


Tested on:

Safari Version 16.3 (18614.4.6.1.6)

Google Chrome Version 110.0.5481.177 (Official Build) (x86_64)

0.1.4

3 months ago

0.1.5

3 months ago

0.1.3

7 months ago

0.1.2

8 months ago

0.1.1

8 months ago

0.1.0

8 months ago