Angular, onLoad function on an iFrame

前端 未结 4 945
故里飘歌
故里飘歌 2020-11-28 06:16

I have this iframe working with basic JavaScript:


<         


        
4条回答
  •  失恋的感觉
    2020-11-28 07:11

    try defining the function within controller as:

    window.uploadDone=function(){
      /* have access to $scope here*/
    }
    

提交回复
热议问题