Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jayphelps/shady-dom
- Owner: jayphelps
- License: mit
- Created: 2015-04-03T22:37:08.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-08T00:00:29.000Z (almost 10 years ago)
- Last Synced: 2024-10-19T17:58:25.178Z (3 months ago)
- Size: 145 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)