What's the difference between element.bind and element.on

后端 未结 0 714
感情败类
感情败类 2021-02-11 15:36

Folks,

I have been following examples of angularjs directives. I see some people use:

element.bind(\'click\',callback)

while others use

相关标签:
回答
  • 消灭零回复
提交回复
热议问题