web-component-builder
TypeScript icon, indicating that this package has built-in type declarations

1.0.8-rc.0 • Public • Published

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() { }

Package Sidebar

Install

npm i web-component-builder

Weekly Downloads

8

Version

1.0.8-rc.0

License

ISC

Unpacked Size

208 kB

Total Files

35

Last publish

Collaborators

  • egoekalp