Answers for "create shadow root"

0

create shadow root

hostElement.attachShadow({mode:"open"})
//open mode to alow js to acces the shadow dom
hostElement.attachShadow()
//shadow dom can not be accesed with js
Posted by: Guest on August-14-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language