4 ms·
You can use JS to set `display: none` on the relevant HTML elements
by zffr 4y ago
You can use JS to set `display: none` on the relevant HTML elements
- johannes1234321 4y agoThe elements then still appear in the DOM and may be affected by DOM manipulation etc.
- arcanemachiner 4y agoHow about slapping the outerHTML into a <template> tag? Disclaimer: I didn't read the article and am just bikeshedding.
- lifthrasiir 4y agoSo do comments: you can get them via `Node.childNodes` (but not via `Element.children` which only returns elements).