Socket
Socket
Sign inDemoInstall

typetestr

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    typetestr

Control font size by range slider. Useful for font presentation


Version published
Weekly downloads
18
decreased by-21.74%
Maintainers
1
Install size
4.44 kB
Created
Weekly downloads
 

Readme

Source

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)

Keywords

FAQs

Last updated on 13 Feb 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc