Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bcd5049

Browse files
mscdexchrisvfritz
authored andcommitted
fix typo in comment (vuejs#579)
1 parent 424cdfd commit bcd5049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/v2/api/index.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1621,7 +1621,7 @@ All lifecycle hooks automatically have their `this` context bound to the instanc
16211621
`ref` is used to register a reference to an element or a child component. The reference will be registered under the parent component's `$refs` object. If used on a plain DOM element, the reference will be that element; if used on a child component, the reference will be component instance:
16221622

16231623
``` html
1624-
<!-- vm.$refs.p will the DOM node -->
1624+
<!-- vm.$refs.p will be the DOM node -->
16251625
<p ref="p">hello</p>
16261626

16271627
<!-- vm.$refs.child will be the child comp instance -->

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /