basicHTML icon indicating copy to clipboard operation
basicHTML copied to clipboard

Refactor `querySelectorAll` per `document`

Open WebReflection opened this issue 5 years ago • 0 comments

Currently, the init with a selector method causes a global side effect on every selector, playing not particularly nice when Document class is extracted, and initialized, a part.

Consider providing a Document.prototype.useSelector(...) method to simplify, and confine, different selectors engine, per document.

WebReflection avatar Sep 09 '20 16:09 WebReflection