有两种方法可以 处理事件 ( handle events ):简短方法(short way),W3C方法。每一种方法都有两面,两种方法都允许你一个元素发生某个事件的时候执行特定的功能。
基于30个网页-相关网页
event handle 事件句柄 ; 事件处理器 ; 事件处理程序
There are two kinds of events: the publish event and the handle event.
有两种类型的事件:发布(publish)事件和处理(handle)事件。
This sample is a handle event called getFeedFromURL, which can receive a string as payload and invoke the function handleGetFeedFromURL when it is triggered.
该样例是一个称为 getFeedFromURL 的处理事件,该事件可以接受一个字符串作为负载并在被触发时调用函数 handleGetFeedFromURL。
应用推荐