From b3b26e234daba49a32ba406e410b9d9ff7fd4f6b Mon Sep 17 00:00:00 2001 From: Zack Yin Date: Thu, 19 Aug 2021 20:15:13 +0800 Subject: [PATCH] update Dynamic Argument misleading property name changed eventName to event without uppercase since it converts to all lowercase `eventname` and this won't work when users first try until read the constraint part --- src/v2/guide/syntax.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/v2/guide/syntax.md b/src/v2/guide/syntax.md index 95b8db44da..13cf64cf51 100644 --- a/src/v2/guide/syntax.md +++ b/src/v2/guide/syntax.md @@ -147,10 +147,10 @@ Here `attributeName` will be dynamically evaluated as a JavaScript expression, a Similarly, you can use dynamic arguments to bind a handler to a dynamic event name: ``` html - ... + ... ``` -In this example, when `eventName`'s value is `"focus"`, `v-on:[eventName]` will be equivalent to `v-on:focus`. +In this example, when `event`'s value is `"focus"`, `v-on:[event]` will be equivalent to `v-on:focus`. #### Dynamic Argument Value Constraints