Hi, I'm using your theme with angular 2 app. But the problem is your javascript running before this DOM element is generated by angular. In the script.js you have command : Unicom.init() to init all the action of DOM element. Now I want call it in my ngAfterViewInit() function, but it fail. How can I intergate this theme in angular 2 application. Thanks.
I'm using your theme with angular 2 […]
I'm using your theme with angular 2 app. But the problem is your javascript running before this DOM element is generated by angular.
In the script.js you have command : Unicom.init() to init all the action of DOM element. Now I want call it in my ngAfterViewInit() function, but it fail.
How can I intergate this theme in angular 2 application.
Thanks.
Sorry for integration with angular 2 app is beyond the support we provide. But maybe this problem can be solved by utilizing jQuery livequery library.
https://plugins.jquery.com/livequery/
Thank's