1.0.8-rc.0 • Published 3 years ago

web-component-builder v1.0.8-rc.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

codecov example workflow NPM

Web Component Builder

web-component-builder is a simple typescript project that allows creating web components with an angular-like syntax.

Currently, capabilities are :

  • Component declarations with selector and inline template
  • Component attributes as custom element attributes
  • Component lifecycle methods like onInit, onAttrChanges, onViewInit and onDestroy
  • Dependency Injection through services / providers

Examples

@Component({ selector: 'my-comp', template: '<div>My First Web Component with Builder!</div>' }) class MyComp implements IOnInit, IOnDestroy() { }