Skip to content

erock2112/elements-sk

 
 

Repository files navigation

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.

About

A collection of v1 custom elements.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 50.9%
  • TypeScript 23.1%
  • JavaScript 17.0%
  • CSS 6.4%
  • Go 2.3%
  • Makefile 0.3%