Inspector Dom
Pure vanilla-js ultra-lightweight dom inspector similiar to built-in tool in chrome browser with a custom callback onClick.
Install
yarn add inspector-dom
const Inspector = require('inspector-dom')
import Inspector from 'inspector-dom'
Usage
Initialize:
const inspector = Inspector()
Props:
const inspector =
API
inspector.enable() // turn the inspector on
inspector.cancel() // turn the inspector off