So, I am hearing the phrase "shadow DOM" a lot now. Is that the same as a detached DOM element?
If I create a DOM element like this:
var $pizza = $('<aside>', {
'class': 'pizza'
});
$pizza is detached. I can attach it using attach
, append
or html
perhaps.
Is this functionally the same as the concept of shadow DOM, but with some other caveats? What are the differences?