Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jayphelps/shady-dom

Shady under a tree, not sketchy.
https://github.com/jayphelps/shady-dom

Last synced: 16 days ago
JSON representation

Shady under a tree, not sketchy.

Awesome Lists containing this project

README

        

# shady-dom
Shady under a tree, not sketchy.

```js
import { registerElement } from 'shady-dom';

@registerElement()
class XFoo extends window.HTMLElement {
createdCallback() {
const root = this.createShadyRoot();
root.innerHTML = 'I\'m Shady';
}
}

```
# Credit
The "shady-dom" inspired by the awesome folks over at [Polymer](https://github.com/Polymer/polymer)