Skip to content

Commit ab109fd

Browse files
authored
doc: fix method handler access the DOM element way (#2824)
1 parent 26666c0 commit ab109fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/essentials/event-handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ methods: {
116116

117117
</div>
118118

119-
A method handler automatically receives the native DOM Event object that triggers it - in the example above, we are able to access the element dispatching the event via `event.target.tagName`.
119+
A method handler automatically receives the native DOM Event object that triggers it - in the example above, we are able to access the element dispatching the event via `event.target`.
120120

121121
<div class="composition-api">
122122

0 commit comments

Comments
 (0)