S
S
sandu_k2014-07-01 16:39:48
Google
sandu_k, 2014-07-01 16:39:48

What is the Shadow DOM for?

On Google IO recently, together with Polymer, the idea of ​​the so-called Shadow DOM has been very strongly promoted. Please explain what it is for, what are the advantages and does it make sense to use it at all? Thanks in advance!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Roman Zhak, 2014-07-01
@sandu_k

habrahabr.ru/post/180377

S
Sergey, 2014-07-01
Protko @Fesor

In short, a convenient way to create isolated and reusable UI components.

M
Myateznik, 2014-07-04
@Myateznik

Shadow DOM - The shadow model of the document works independently (more or less) from each other. Serves for creating custom UI components (tags). It is also the basis for standard HTML5 elements such as:

<video></video>
<audio></audio>
<input>
and many others.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question