Skip to content

ComponentKitchen/polymer-micro-test

 
 

Repository files navigation

polymer-micro-test

This project explores the question: What is the smallest amount of code that must be added to polymer-micro to create a web component environment that can meet the needs of our open source component collection, Basic Web Components?

The minimalComponent.js file defines a Polymer behavior that can be used with polymer-micro. The behavior adds the following features:

  1. Creation of a shadow root
  2. instantiation
  3. Shimming of CSS styles under the Shadow DOM polyfill
  4. Polymer-style automatic node finding (not sure if we really need this)
  5. The file test-element.html uses polymer-micro and the above behavior to define a very simple component. The page index.html shows that component in use. You can view that page in the live demo.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 62.1%
  • JavaScript 37.6%
  • CSS 0.3%