Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 605 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 605 Bytes

angular-v6-elements

Produces fully operational webcomponents based on Angular 6 framework into a JS script for reuse. !!! Works with Webpack and Zone.js (Do not load it twice) !!!

Install & Build element

npm i

npm run build:elements


See it in action

Open elements/demo.html


Angular API to DOM API

Angular API -> Elements -> DOM API @Input('author') author: string ---> author="A author" @Output('complete') complete: EventEmitter ---> document.getElementById('anId').addEventlistener('complete', function(e) => {}, false);