1.0.2 • Published 2 years ago

barjste v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

barJSte

Highlight your texts like you would a textbook.

Installation

npm i barjste

or download the source yourself.

Usage

$(element).barjste(action, properties)

Variables

element - the DOM element you wish to modify.

action - "highlight" to highlight the text, "unhighlight" to hide the text, "redact" to redact the text.

properties - {"color", color}, where color can be yellow, blue, red, green, pink, white, and black.

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

6 years ago