THIS REPOSITORY IS ARCHIVED. Code moved to the Skia Infrastructure repository here (see CL).
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.
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.
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.
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.
This is not an officially supported Google product.