1.0.0 • Published 7 years ago

jquery.dom-outline v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Dom Outline

Firebug/Dev Tools-like DOM outline implementation using jQuery.

Example Usage

var myExampleClickHandler = function (element) { console.log('Clicked element:', element); }
var myDomOutline = DomOutline({ onClick: myExampleClickHandler, filter: 'div' });

// Start outline:
myDomOutline.start();

// Stop outline (also stopped on escape/backspace/delete keys):
myDomOutline.stop();

Options

Other Notes

  • Tested to work in Chrome, FF, Safari. Buggy in IE ;(
  • Creates a single global variable: window.DomOutline
1.0.0

7 years ago