Skip to content

Commit 1a906e9

Browse files
8HoLoNedimitchel
authored andcommitted
guide/components/props.md (vuejs-translations#201)
Co-authored-by: Michel EDIGHOFFER <[email protected]>
1 parent 8d53a24 commit 1a906e9

File tree

3 files changed

+120
-120
lines changed

3 files changed

+120
-120
lines changed

src/api/built-in-directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ Dynamically bind one or more attributes, or a component prop to an expression.
338338

339339
- **See also:**
340340
- [Class and Style Bindings](/guide/essentials/class-and-style.html)
341-
- [Components - Prop Passing Details](/guide/components/props.html#prop-passing-details)
341+
- [Composant - Détails sur le passage de props](/guide/components/props.html#prop-passing-details)
342342

343343
## v-model
344344

src/api/options-state.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ Declare the props of a component.
8585
8686
With object-based syntax, each prop can further define the following options:
8787
88-
- **`type`**: Can be one of the following native constructors: `String`, `Number`, `Boolean`, `Array`, `Object`, `Date`, `Function`, `Symbol`, any custom constructor function or an array of those. In development mode, Vue will check if a prop's value matches the declared type, and will throw a warning if it doesn't. See [Prop Validation](/guide/components/props.html#prop-validation) for more details.
88+
- **`type`**: Can be one of the following native constructors: `String`, `Number`, `Boolean`, `Array`, `Object`, `Date`, `Function`, `Symbol`, any custom constructor function or an array of those. In development mode, Vue will check if a prop's value matches the declared type, and will throw a warning if it doesn't. Voir la [validation de prop](/guide/components/props.html#prop-validation) pour plus de détails.
8989
90-
Also note that a prop with `Boolean` type affects its value casting behavior in both development and production. See [Boolean Casting](/guide/components/props.html#boolean-casting) for more details.
90+
Also note that a prop with `Boolean` type affects its value casting behavior in both development and production. Voir la [conversion en booléen](/guide/components/props.html#boolean-casting) pour plus de détails.
9191
9292
- **`default`**: Specifies a default value for the prop when it is not passed by the parent or has `undefined` value. Object or array defaults must be returned using a factory function. The factory function also receives the raw props object as the argument.
9393

0 commit comments

Comments
 (0)