Skip to content

Commit 2bc066c

Browse files
author
pemrouz
committed
docs: update readme
1 parent 33ab8d6 commit 2bc066c

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,4 @@
22
[![Coverage Status](https://coveralls.io/repos/rijs/shadow/badge.svg?branch=master&service=github)](https://coveralls.io/github/rijs/shadow?branch=master)
33
[![Build Status](https://travis-ci.org/rijs/shadow.svg)](https://travis-ci.org/rijs/shadow)
44

5-
Adds a Shadow DOM to a Custom Element before rendering
6-
7-
```html
8-
<component-name>
9-
```
10-
11-
For browsers that do not natively support this, it sets the `shadowRoot` and `host` pointers for components that depend on them.
5+
Extends the [rendering pipeline]() to append a shadow root before rendering a custom element. If the browser does not support shadow roots, it sets the `host`/`shadowRoot` pointers so that a component implementation depending on them works both in the context of a shadow root or without.

0 commit comments

Comments
 (0)