diff --git a/src/api/built-in-directives.md b/src/api/built-in-directives.md index 4c1992d92..d64cabc1b 100644 --- a/src/api/built-in-directives.md +++ b/src/api/built-in-directives.md @@ -319,13 +319,16 @@ Dynamically bind one or more attributes, or a component prop to an expression. ``` - The `.prop` modifier also has a dedicated shorthand, `.`: + The `.prop` and `.attr` modifiers also have a dedicated shorthand, `.` and `^` respectively: ```vue-html
- + + + + ``` The `.camel` modifier allows camelizing a `v-bind` attribute name when using in-DOM templates, e.g. the SVG `viewBox` attribute: diff --git a/src/guide/built-ins/keep-alive.md b/src/guide/built-ins/keep-alive.md index 620d6e12b..e9017d662 100644 --- a/src/guide/built-ins/keep-alive.md +++ b/src/guide/built-ins/keep-alive.md @@ -129,7 +129,7 @@ export default { Note that: -- `onActivated` is also called on mount, and `onDectivated` on unmount. +- `onActivated` is also called on mount, and `onDeactivated` on unmount. - Both hooks work for not only the root component cached by `