Skip to content

Commit cde3fc6

Browse files
Update component-props.md (#1231)
* Update component-props.md add description of condition about implied casting * Update src/guide/component-props.md Co-authored-by: Natalia Tepluhina <[email protected]> Co-authored-by: Natalia Tepluhina <[email protected]>
1 parent c180327 commit cde3fc6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/guide/component-props.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ In the two examples above, we happen to pass string values, but _any_ type of va
6161

6262
```html
6363
<!-- Including the prop with no value will imply `true`. -->
64+
<!-- If you don't set is-published's type to Boolean in props, it will be an empty string instead of "true" value. -->
6465
<blog-post is-published></blog-post>
6566

6667
<!-- Even though `false` is static, we need v-bind to tell Vue that -->

0 commit comments

Comments
 (0)