/elements-sk

A collection of v1 custom elements.

Primary LanguageHTMLApache License 2.0Apache-2.0

THIS REPOSITORY IS ARCHIVED. Code moved to the Skia Infrastructure repository here (see CL).

elements-sk

A collection of v1 custom elements.

See A la carte Web Development for more background on pulito and how it fits into "A la carte" web development.

Installation

If loaded via npm then importing will just work, i.e.:

$ npm i elements-sk

Then from within your code:

import 'elements-sk/checkbox-sk'

See pages/index.js as an example.

Documentation

jsdoc.skia.org contains the jsdoc generated documentation for all of the code. It also hosts a demo page of many of the elements, and a catalog of all the Material Design icons included.

Browser Support

This library only uses the v1 Custom Elements spce with no Shadow DOM, so the only polyfill needed is:

https://github.com/webcomponents/custom-elements

See pages/index.html for an example on how to conditionally include the polyfill.

Disclaimer

This is not an officially supported Google product.