qontu / ngx-inline-editor

Native UI Inline-editor Angular (4.0+) component
https://qontu.github.io/ngx-inline-editor
MIT License
164 stars 90 forks source link

AOT mode is not supported #33

Closed Eolan closed 7 years ago

Eolan commented 7 years ago

I use AOT with systemjs and I have some troubles with your component.

Basically I used the following procedure to be able to use it in aot mode: https://github.com/yuyang041060120/angular2-ui-switch/issues/2 ... and got it working to until the following error:

Error at [...]/node_modules/ng2-inline-editor/dist/inline-editor.component.ngfactory.ts:1434:46: Property 'editing' is private and only accessible within class 'InlineEditorComponent'.

Witch basically means you're probably accessing a private property of your component from inside the html file... My guess is that you just need to use a getter instead.

Thx

Caballerog commented 7 years ago

I just upload a new version which AOT is supported :-)