valor-software / ng2-tree

Angular tree component
http://valor-software.com/ng2-tree/index.html
MIT License
348 stars 190 forks source link

Incompatibility with Angular 6 AOT (Executes its method automatically) #336

Open Ankita22 opened 5 years ago

Ankita22 commented 5 years ago

Hi,

I am trying to use ng2-tree with Angular . All the events like nodeRemoved,nodeCreated,nodeRenamed are working fine for loccalhost development. But, After building the application for production , On production environment the tree is getting displayed in background but Events are getting called automatically. I am attaching a video of how it is calling the functions automatically.

Check_tree_video.mp4.zip