ALDINEY MENDES SANTOS

Results 3 comments of ALDINEY MENDES SANTOS

In my case, PolymerElement don't works with AppModule for all modules. I need import PolymerElement('paper-input') in all modules. I use static class and works. ``` polymer.ts import { PolymerElement }...

Try it. `private elements: HTMLElement[] = [];` `private onEventNewElement: EventEmitter = new EventEmitter();` ``` ngOnInit() { this.onEventNewElement.subscribe(() => { if (this.elements.length > 0) { let el = this.elements[0]; this.elements.splice(0, 1);...