Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我有这样的事情时
".mylabel click": function (el,ev){ //mycode in here }
el 是什么意思?ev 是什么意思?
我已经尝试在canjs中搜索它,但没有足够的信息。
通常,el 是接收到点击事件的元素。ev 是实际的单击事件本身,它会告诉您用户是用鼠标右键还是鼠标左键单击...等等。