/barJSte

A jQuery plugin to highlight (as you would a textbook) DOM elements.

Primary LanguageJavaScript

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.