Optional
treespace: Elementimport { method } from 'deleight/proxy/selector';
document.body.innerHTML = `
<div>I am a div</div>
<p>I am a paragraph</p>
<section>I am a section</section>
<article>I am an article</article>
`;
const slct = method('remove', document.body);
slct.section();
console.log(document.querySelector('section')); // null
Returns an object that lazily represents a method with the name within the
treespace
(or document). Calling its methods calls the corresponding method in the specified element.