Inspect objects associated to DOM elements in web inspector
Want to see pretty graphs? Log in now!
npm install dev-component
|2||downloads in the last week|
|8||downloads in the last month|
|Last Published By|
|Version||0.0.1 last updated a year ago|
Inspect objects associated to DOM elements in web inspector.
$ component install component/dev
When enabled via
localStorage.dev = true the object
is assigned as
_ on the element for inspection in the
"properties" panel. This means when the element is selected
$._ is also available. A name may be passed instead of ""
however "" is nice as it will display early in the properties list.
inspect(el, obj, [name])
name defaulting to "_".