Skip to content

basic-web-components/sample-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A sample web component created entirely from mixins from the basic-component-mixins package in the Basic Web Components project.

The sample component uses mixins to handle common web component fundamentals:

  • Creating a Shadow DOM subtree and stamping a template into it.
  • Marshalling element attributes to properties.
  • Efficiently referencing elements in its shadow subtree.

There are [ES5](Hello World (ES5)/) and ES6 versions of this sample component to show how the mixins work well in either environment.

To install and run:

> npm install
> grunt build

About

Sample web component created with core component mixins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published