web-component-builder
is a simple typescript project that allows creating web components with an angular-like syntax.
Currently, capabilities are :
-
Component
declarations withselector
and inlinetemplate
-
Component
attributes
as custom elementattributes
-
Component
lifecycle methods likeonInit
,onAttrChanges
,onViewInit
andonDestroy
-
Dependency Injection
throughservices / providers
@Component({ selector: 'my-comp', template: '<div>My First Web Component with Builder!</div>' }) class MyComp implements IOnInit, IOnDestroy() { }