hsuanxyz / ionic-tags-input

A ionic tags input component
https://stackblitz.com/edit/ionic-tags-input
MIT License
71 stars 24 forks source link

Support to Angular Ahead of time compilation #16

Open RichardSilveira opened 6 years ago

RichardSilveira commented 6 years ago

I'm using Angular with Ionic and when building my app with ahead of time compilation, an error is throwing 'cause property '_blur' is private and to support this kind of compilation, the properties of a component should be public at all.

This is a great component and i think that will be a awesome improvement support Ahead of Time in Angular + Ionic.

The error message: ERROR in node_modules\ionic-tags-input\ionic-tags-input.d.ts.IonTagsInput.html(17,10): : Property '_blur' is private and only accessible within class 'IonTagsInput'. node_modules\ionic-tags-input\ionic-tags-input.d.ts.IonTagsInput.html(18,10): : Expected 0 arguments, but got 1.

hsuanxyz commented 6 years ago

fixed https://github.com/HsuanXyz/ionic-tags-input/commit/69cc6eaa87bdacb859bbb52e8a783b1b5a8494f9 try it now.

$ npm i ionic-tags-input@0.1.1
rodolfocop commented 6 years ago

Hi, thanks for AOT. But now have this problem using AOT=true

ng build --aot=true ERROR in node_modules\ionic-tags-input\ionic-tags-input.d.ts.IonTagsInput.html(18,10): : Expected 0 arguments, but got 1.

RichardSilveira commented 6 years ago

The error reported by @rodolfocop has occurring with me too...

nascarjake commented 5 years ago

Any solution on this?

RichardSilveira commented 5 years ago

Yes, use React