-
Notifications
You must be signed in to change notification settings - Fork 103
traduction api/index.md premier tiers #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
traduction api/index.md premier tiers #20
Conversation
# Conflicts: # src/api/index.md
# Conflicts: # src/v2/api/index.md
Juste pour t'informer @sylvainpolletvillard qu'il y a eu cette maj entre temps : |
Ok je tâcherai de mettre à jour |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je viens de faire une lecture, je n'ai rien à redire (par ailleurs je tire mon chapeau à ton boulot sur ce gros morceau et à la doc de Vuejs que je trouve clair et pédagogique)
|
||
<p class="tip">**Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vuejs.org).**</p>`Vue.config` is an object containing Vue's global configurations. You can modify its properties listed below before bootstrapping your application: | ||
`Vue.config` est un objet contenant les configurations globales de Vue. Vous pouvez modifier les propriétés listées ci-dessous avant de mettre en place votre application: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
votre application : (espace)
src/v2/api/index.md
Outdated
|
||
### silent | ||
|
||
- **Type:** `boolean` | ||
|
||
- **Default:** `false` | ||
- **Par défaut:** `false` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Globalement un espace insécable après tous les « : »
src/v2/api/index.md
Outdated
|
||
``` js | ||
Vue.config.silent = true | ||
``` | ||
|
||
Suppress all Vue logs and warnings. | ||
Supprime tous les logs et warnings de Vue.js. | ||
|
||
### optionMergeStrategies | ||
|
||
- **Type:** `{ [key: string]: Function }` | ||
|
||
- **Default:** `{}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Par défaut :
src/v2/api/index.md
Outdated
|
||
The merge strategy receives the value of that option defined on the parent and child instances as the first and second arguments, respectively. The context Vue instance is passed as the third argument. | ||
La stratégie de fusion reçoit en arguments la valeur de cette option définie dans le parent et les instances enfant en tant que premier et second argument, respectivement. L'instance Vue est passée en troisième argument. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
les instances enfants ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
« instance de Vue » #24 (à discuter)
src/v2/api/index.md
Outdated
|
||
### devtools | ||
|
||
- **Type:** `boolean` | ||
|
||
- **Default:** `true` (`false` in production builds) | ||
- **Par défaut:** `true` (`false` dans les versions de production) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Par défaut :
src/v2/api/index.md
Outdated
<p class="tip">Note that __you should not use an arrow function to define a watcher__ (e.g. `searchQuery: newValue => this.updateAutocomplete(newValue)`). The reason is arrow functions bind the parent context, so `this` will not be the Vue instance as you expect and `this.updateAutocomplete` will be undefined.</p> | ||
|
||
- **See also:** [Instance Methods - vm.$watch](#vm-watch) | ||
- **Voir aussi:** [Méthodes d'instance - vm.$watch](#vm-watch) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Voir aussi :
src/v2/api/index.md
Outdated
|
||
## Options / DOM | ||
|
||
### el | ||
|
||
- **Type:** `string | HTMLElement` | ||
|
||
- **Restriction:** only respected in instance creation via `new`. | ||
- **Restriction:** uniquement respecté quand l'instance est créée via `new`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restriction :
src/v2/api/index.md
Outdated
|
||
- **Details:** | ||
- **Détails:** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Détails :
src/v2/api/index.md
Outdated
|
||
Provide the Vue instance an existing DOM element to mount on. It can be a CSS selector string or an actual HTMLElement. | ||
Fournit à l'instance Vue un élément existant du DOM sur lequel se monter. Cela peut être une `String` représentant un sélecteur CSS ou une référence à un `HTMLElement`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
« instance de Vue » #24 (à discuter)
src/v2/api/index.md
Outdated
|
||
- **See also:** [Lifecycle Diagram](../guide/instance.html#Lifecycle-Diagram) | ||
- **Voir aussi:** [Diagramme du Cycle de Vie](../guide/instance.html#Lifecycle-Diagram) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Voir aussi :
Retours de @haeresis faits. Je vous propose de merger ça avant que je continue le reste de ce fichier |
Vu la taille du fichier je propose de séparer en au moins 3 PR. Voilà un premier tiers