From 0d3b520f020ba79261a20357845ea505ccd652db Mon Sep 17 00:00:00 2001 From: V1RoZ <45887388+V1RoZ@users.noreply.github.com> Date: Sat, 28 Nov 2020 01:04:14 +0100 Subject: [PATCH] Update component-custom-events.md Match sample text in description and HTML example --- src/guide/component-custom-events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/component-custom-events.md b/src/guide/component-custom-events.md index 84d2943cc3..31a34c7e39 100644 --- a/src/guide/component-custom-events.md +++ b/src/guide/component-custom-events.md @@ -152,7 +152,7 @@ Let's create an example custom modifier, `capitalize`, that capitalizes the firs Modifiers added to a component `v-model` will be provided to the component via the `modelModifiers` prop. In the below example, we have created a component that contains a `modelModifiers` prop that defaults to an empty object. -Notice that when the component's `created` lifecycle hook triggers, the `modelModifiers` prop contains `capitalize` and its value is `true` - due to it being set on the `v-model` binding `v-model.capitalize="bar"`. +Notice that when the component's `created` lifecycle hook triggers, the `modelModifiers` prop contains `capitalize` and its value is `true` - due to it being set on the `v-model` binding `v-model.capitalize="myText"`. ```html