Is there a page load hook in MDriven Turnkey?

僤鯓⒐⒋嵵緔 提交于 2020-05-17 06:05:07

问题


Is there a customizable javascript hook in MDriven Turnkey that gets called on each page load? If not, how do I add such a hook?


回答1:


I think you find the answer here: MDriven wiki




回答2:


It's AngularJS. Look at AngularJS to find out how you run JS when page loads.

https://docs.angularjs.org/api/ngRoute/directive/ngView#event-$viewContentLoaded

https://azizsaboor.wordpress.com/2015/11/26/angularjs-event-to-call-after-loading/



来源:https://stackoverflow.com/questions/61774890/is-there-a-page-load-hook-in-mdriven-turnkey

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!