Skip to content

Commit 12aa633

Browse files
authored
Modify the documentation description of the custom directive (#1429)
1 parent 0c0b6f0 commit 12aa633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/custom-directive.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ A directive definition object can provide several hook functions (all optional):
4949

5050
- `beforeMount`: called when the directive is first bound to the element and before parent component is mounted.
5151

52-
- `mounted`: called when the bound element's parent component is mounted.
52+
- `mounted`: called before the bound element's parent component is mounted.
5353

5454
- `beforeUpdate`: called before the containing component's VNode is updated
5555

0 commit comments

Comments
 (0)