1.0.2 • Published 3 years ago
isblankpage v1.0.2
isBlankPage
judge if the page is blank
useage
import isBlankPage from 'isblankpage'
isBlankPage().then(res =>console.log(res))
isBlankPage(document.body, true).then(res =>console.log(res))
judge if the page is blank
import isBlankPage from 'isblankpage'
isBlankPage().then(res =>console.log(res))
isBlankPage(document.body, true).then(res =>console.log(res))