barjste
v1.0.2
Published
A jQuery plugin to highlight (as you would a textbook) DOM elements.
Downloads
6
Maintainers
Readme
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.