doc: create addEventListener with multiple event section
This commit is contained in:
1 parent
f1469dc333
commit
dfaec05b64
1 file changed
+4
-1
@@ -128,4 +128,7 @@ text"> <Go!>
|
||||
要制作一个响应按钮(或其他UI控件):
|
||||
1. 选择感兴趣的控件(如按钮)和事件(如鼠标点击)
|
||||
2. 编写一个JavaScript函数在事件发生时运行
|
||||
3. 将函数附加到控件上的事件
|
||||
3. 将函数附加到控件上的事件
|
||||
|
||||
## 带有多个事件的addEventListener
|
||||

|
||||
Reference in new issue
Block a user