Skip to content

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

Merged
merged 10 commits into from
Feb 7, 2017

Conversation

sylvainpolletvillard
Copy link
Member

Vu la taille du fichier je propose de séparer en au moins 3 PR. Voilà un premier tiers

@MachinisteWeb
Copy link
Member

MachinisteWeb commented Jan 30, 2017

Juste pour t'informer @sylvainpolletvillard qu'il y a eu cette maj entre temps :

@sylvainpolletvillard
Copy link
Member Author

Ok je tâcherai de mettre à jour

Copy link

@yann-yinn yann-yinn left a 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:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

votre application : (espace)


### silent

- **Type:** `boolean`

- **Default:** `false`
- **Par défaut:** `false`
Copy link
Member

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 « : »


``` 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:** `{}`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Par défaut :


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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

les instances enfants ?

Copy link
Member

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)


### devtools

- **Type:** `boolean`

- **Default:** `true` (`false` in production builds)
- **Par défaut:** `true` (`false` dans les versions de production)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Par défaut :

<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)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Voir aussi :


## 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`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restriction :


- **Details:**
- **Détails:**
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Détails :


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`.
Copy link
Member

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)


- **See also:** [Lifecycle Diagram](../guide/instance.html#Lifecycle-Diagram)
- **Voir aussi:** [Diagramme du Cycle de Vie](../guide/instance.html#Lifecycle-Diagram)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Voir aussi :

@sylvainpolletvillard
Copy link
Member Author

Retours de @haeresis faits. Je vous propose de merger ça avant que je continue le reste de ce fichier

@sylvainpolletvillard sylvainpolletvillard merged commit 22c3304 into vuejs-fr:master Feb 7, 2017
@MachinisteWeb MachinisteWeb removed the request for review from gbaudoin March 6, 2017 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants