Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

basic-web-components/sample-component

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.