jQuery find() method not working in AngularJS directive

前端 未结 7 992
说谎
说谎 2021-01-31 14:26

I am having trouble with angularjs directives finding child DOM elements with the injected angular element.

For example I have a directive like so:



        
7条回答
  •  一向
    一向 (楼主)
    2021-01-31 15:10

    I used

    elm.children('.class-name-or-whatever') 
    

    to get children of the current element

提交回复
热议问题