You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter
Current behavior
When performing an AOT build, I get the following error.
ERROR in (1,1): : Directive NgxSmartModalComponent, Property 'escapeKeyboardEvent' is private and only accessible within class 'NgxSmartModalComponent'.
ClientApp\app\public\productdetails\productdetails.component.html(56,1): : Directive NgxSmartModalComponent, Property 'escapeKeyboardEvent' is private and only accessible within class 'NgxSmartModalComponent'.
thanks for you interest about our lib !
On a quick research, it seems to be the .forRoot() configuration that cause trouble with the AOT build. angular/angular#14707
Is is valid to use a @HostListener annotation on a private method?
Angular AOT does care & check whether fields / properties /methods are private, both when checking component html templates and on usage (i.e. by library consumers like myself 🗣 ).
I'm submitting a ... (check one with "x")
Current behavior
When performing an AOT build, I get the following error.
Expected behavior
I was expecting to be able to do AOT build.
Reproduction of the problem
Content of component HTML template
Content of app module
Please tell us about your environment:
Windows 10 Enterprise
Smart Modal version: 6.0.2
Browser: N/A
Language: TypeScript 2.5.3
The text was updated successfully, but these errors were encountered: