x-element
_________
/ /__ __\ \
/ / \ \ / \ \
\ \ /_\_\ / /
\_\_____/_/
A dead simple starting point for custom elements. It provides the following functionality:
.property
to [attribute]
reflection (opt-in)[attribute]
to .property
synchronization (one-directional, on connected)# save a local copy
curl https://raw.githubusercontent.com/Netflix/x-element/main/x-element.js > x-element.js
or
# load it from the web
import XElement from 'https://deno.land/x/element/x-element.js';
...or if you're fancy:
# use a package manager
npm install @netflix/x-element
x-element.js
npm install && npm start
Then...
See SPEC.md for all the deets.