Posted On: Feb 22, 2018
DOM stands for Document Object Model. It is a property of DOM used to building components. One can think of shadow DOM as a scoped sub-tree inside the Polymer.js element. Browsers use Shadow DOM to implement default HTML components such as the <video> tag. The Shadow DOM specification allows the developers to use the same techniques in our own custom elements. DOM is basically an application-programming interface (API) for valid HTML and well-formed XML documents. It defines the logical structure of documents and the way a document is accessed and manipulated. Shadow DOM, in particular, refers to the ability of the browser to include a sub-tree of DOM elements into the rendering of a document, but not into the main document DOM tree.
Never Miss an Articles from us.
It is an open source JavaScript library, which is chiefly developed by Google. It is mostly used to develop web applicat..
Polymer JS is currently the simplest way to create custom HTML elements for API development because this library is buil..
The architecture of Polymer.js is divided into four important layers which are explained below:Native Layer: It repres..