Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

jquery-highlight-selection

bootcamp-f1617ISC0.0.4

Simple jQuery plugin for boxes around elements for debugging purposes

readme

jQuery Highlight Selection

Simple jQuery plugin to draw boxes around the items in the current jQuery collection.

Usage

$('div').highlightSelection();
// All div tags will now have a red box around them

$('li').highlightSelction();
// All li tags will now have a red box around them and the ones around div
// tags are removed

Configuration

$.fn.highlightSelection.defaults.border = "blue";
// border color will now be blue

$.fn.highlight.defaults.clearPreviousSelection = false;
// subsequent calls to highlight selection will no longer clear the old ones