1.0.0 • Published 5 years ago
@eonlee/detect-devtool-open v1.0.0
detect-devtool-open
Find out whether Chrome console is open
This project is just for study.
Here is a better options for work
demo
install
npm install @eonlee/detect-devtool-open -S
usage
import detector from '@eonlee/detect-devtool-open'
detector.setup(cb) // cb will be fire when devtool is open
const isOpen = detector.getIsOpen() // get devtool isOpen
reference
1.0.0
5 years ago