Skip to content

Commit a42911b

Browse files
authored
v-on
只当事件是从侦听器绑定的元素本身触发时才触发回调。
1 parent 17456df commit a42911b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1364,7 +1364,7 @@ type: api
13641364
- `.stop` - 调用 `event.stopPropagation()`
13651365
- `.prevent` - 调用 `event.preventDefault()`
13661366
- `.capture` - 添加事件侦听器时使用 capture 模式。
1367-
- `.self` - only trigger handler if event was dispatched from this element.
1367+
- `.self` - 只当事件是从侦听器绑定的元素本身触发时才触发回调。
13681368
- `.{keyCode | keyAlias}` - 只当事件是从侦听器绑定的元素本身触发时才触发回调。
13691369
- `.native` - 监听组件根元素的原生事件。
13701370

0 commit comments

Comments
 (0)