From db559e05f3eb185492a5cbfe151eeaa043b00bf3 Mon Sep 17 00:00:00 2001 From: Yaty Date: Fri, 20 Oct 2017 21:46:45 +0200 Subject: [PATCH 01/16] at.md: traduction --- docs/en/api/wrapper-array/at.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/api/wrapper-array/at.md b/docs/en/api/wrapper-array/at.md index e5864bf1b..e2f6e6b61 100644 --- a/docs/en/api/wrapper-array/at.md +++ b/docs/en/api/wrapper-array/at.md @@ -1,13 +1,13 @@ # at(index) -Returns `Wrapper` at `index` passed. Uses zero based numbering (i.e. first item is at index 0). +Retourne le `Wrapper` à l'index passé en paramètre. L'indexation commence à 0. -- **Arguments:** +- **Paramètre :** - `{number} index` -- **Returns:** `{Wrapper}` +- **Retourne :** `{Wrapper}` -- **Example:** +- **Exemple :** ```js import { shallow } from 'vue-test-utils' From 170f62c80afda307f78abef09cacb8b374333582 Mon Sep 17 00:00:00 2001 From: Yaty Date: Fri, 20 Oct 2017 21:48:25 +0200 Subject: [PATCH 02/16] contains.md: traduction --- docs/en/api/wrapper-array/contains.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en/api/wrapper-array/contains.md b/docs/en/api/wrapper-array/contains.md index 3b5ee31de..69ccf0867 100644 --- a/docs/en/api/wrapper-array/contains.md +++ b/docs/en/api/wrapper-array/contains.md @@ -1,15 +1,15 @@ # contains(selector) -Assert every wrapper in `WrapperArray` contains selector. +Asserte que chaque `Wrapper` dans `WrapperArray` contient un élément basé sur un sélecteur. -Use any valid [selector](../selectors.md). +Utilisez n'importe quels [sélecteurs](../selectors.md). -- **Arguments:** - - `{string|Component} selector` +- **Paramètres :** + - `{string|Component} selector : sélecteur` -- **Returns:** `{boolean}` +- **Retourne :** `{boolean}` -- **Example:** +- **Exemple :** ```js import { shallow } from 'vue-test-utils' From 23d1a8ef614b9ab263611202442012662cbf04b6 Mon Sep 17 00:00:00 2001 From: Yaty Date: Fri, 20 Oct 2017 21:50:39 +0200 Subject: [PATCH 03/16] hasAttribute.md: traduction --- docs/en/api/wrapper-array/hasAttribute.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en/api/wrapper-array/hasAttribute.md b/docs/en/api/wrapper-array/hasAttribute.md index b3436edc9..1cbe71f1e 100644 --- a/docs/en/api/wrapper-array/hasAttribute.md +++ b/docs/en/api/wrapper-array/hasAttribute.md @@ -1,14 +1,14 @@ # hasAttribute(attribute, value) -Assert every `Wrapper` in `WrapperArray` DOM node has `attribute` matching `value`. +Asserte que chaque `Wrapper` dans `WrapperArray` a un nœud du DOM qui à un attribut ayant une certaine valeur. -- **Arguments:** - - `{string} attribute` - - `{string} value` +- **Paramètres :** + - `{string} attribute : attribut` + - `{string} value : valeur` -- **Returns:** `{boolean}` +- **Retourne :** `{boolean}` -- **Example:** +- **Exemple :** ```js import { mount } from 'vue-test-utils' From 7de3edfcb8639506e29676d50a998c324015e876 Mon Sep 17 00:00:00 2001 From: Yaty Date: Fri, 20 Oct 2017 21:52:10 +0200 Subject: [PATCH 04/16] hasClass.md: traduction --- docs/en/api/wrapper-array/hasClass.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/en/api/wrapper-array/hasClass.md b/docs/en/api/wrapper-array/hasClass.md index b4c48b397..bbc795562 100644 --- a/docs/en/api/wrapper-array/hasClass.md +++ b/docs/en/api/wrapper-array/hasClass.md @@ -1,13 +1,13 @@ # hasClass(className) -Assert every `Wrapper` in `WrapperArray` DOM node has class containing `className`. +Asserte que chaque `Wrapper` dans `WrapperArray` a un nœud du DOM qui a une classe `className`. -- **Arguments:** - - `{string} className` +- **Paramètres :** + - `{string} className : nom d'une classe` -- **Returns:** `{boolean}` +- **Retourne :** `{boolean}` -- **Example:** +- **Exemple :** ```js import { mount } from 'vue-test-utils' From 13097407971668e482b5cefe3ada6c2ad626cce7 Mon Sep 17 00:00:00 2001 From: Yaty Date: Fri, 20 Oct 2017 21:54:03 +0200 Subject: [PATCH 05/16] hasProp.md: traduction --- docs/en/api/wrapper-array/hasProp.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en/api/wrapper-array/hasProp.md b/docs/en/api/wrapper-array/hasProp.md index 6ce255fd7..882e7d8ea 100644 --- a/docs/en/api/wrapper-array/hasProp.md +++ b/docs/en/api/wrapper-array/hasProp.md @@ -1,16 +1,16 @@ # hasProp(prop, value) -Assert every `Wrapper` in `WrapperArray` `vm` has `prop` matching `value`. +Asserte que chaque instance de Vue `vm` de `Wrapper` dans `WrapperArray` a une `prop` correspondant à `value`. -**Note the Wrapper must contain a Vue instance.** +**Note : le `Wrapper` doit contenir une instance de Vue.** -- **Arguments:** +- **Paramètres :** - `{string} prop` - - `{any} value` + - `{any} value : valeur` -- **Returns:** `{boolean}` +- **Retourne :** `{boolean}` -- **Example:** +- **Exemple :** ```js import { mount } from 'vue-test-utils' From 3401d06492ad7323693a995e79b1da2504020c02 Mon Sep 17 00:00:00 2001 From: Yaty Date: Fri, 20 Oct 2017 21:57:38 +0200 Subject: [PATCH 06/16] hasStyle.md: traduction --- docs/en/api/wrapper-array/hasStyle.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/en/api/wrapper-array/hasStyle.md b/docs/en/api/wrapper-array/hasStyle.md index fd34608ab..20c23e36a 100644 --- a/docs/en/api/wrapper-array/hasStyle.md +++ b/docs/en/api/wrapper-array/hasStyle.md @@ -1,17 +1,17 @@ # hasStyle(style, value) -Assert every `Wrapper` in `WrapperArray` DOM node has style matching value. +Asserte que chaque `Wrapper` dans `WrapperArray` a un nœud DOM ayant un certain style avec une certaine valeur. -Returns `true` if `Wrapper` DOM node has `style` matching `string`. +Retourne `true` si le nœud du DOM du `Wrapper` contient un `style` correspondant à `string`. -**Note will only detect inline styles when running in `jsdom`.** -- **Arguments:** +**Note : cela va uniquement détecté les styles `inlines` quand il fonctionne avec `jsdom`.** +- **Paramètres :** - `{string} style` - - `{string} value` + - `{string} value : valeur` -- **Returns:** `{boolean}` +- **Retourne :** `{boolean}` -- **Example:** +- **Exemple :** ```js import { mount } from 'vue-test-utils' From 9b0bd87e2495c16ded4b98e6a0c5b1d27b967932 Mon Sep 17 00:00:00 2001 From: Yaty Date: Fri, 20 Oct 2017 22:00:05 +0200 Subject: [PATCH 07/16] is.md: traduction --- docs/en/api/wrapper-array/is.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/en/api/wrapper-array/is.md b/docs/en/api/wrapper-array/is.md index 8a5a7cb7a..ff8ee9154 100644 --- a/docs/en/api/wrapper-array/is.md +++ b/docs/en/api/wrapper-array/is.md @@ -1,13 +1,13 @@ # is(selector) -Assert every `Wrapper` in `WrapperArray` DOM node or `vm` matches [selector](../selectors.md). +Asserte que chaque `Wrapper` dans `WrapperArray` a un nœud du DOM ou une instance de Vue `vm` correspondant à un [sélecteur](../selectors.md). -- **Arguments:** - - `{string|Component} selector` +- **Paramètres :** + - `{string|Component} selector : sélecteur` -- **Returns:** `{boolean}` +- **Retourne :** `{boolean}` -- **Example:** +- **Exemple :** ```js import { mount } from 'vue-test-utils' From 99b67348cd883ffbc2013ddb4f81f3124522bb43 Mon Sep 17 00:00:00 2001 From: Yaty Date: Fri, 20 Oct 2017 22:00:50 +0200 Subject: [PATCH 08/16] isEmpty.md: traduction --- docs/en/api/wrapper-array/isEmpty.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/api/wrapper-array/isEmpty.md b/docs/en/api/wrapper-array/isEmpty.md index 6ef8b4145..48cfa9555 100644 --- a/docs/en/api/wrapper-array/isEmpty.md +++ b/docs/en/api/wrapper-array/isEmpty.md @@ -1,10 +1,10 @@ # isEmpty() -Assert every `Wrapper` in `WrapperArray` does not contain child node. +Asserte que chaque `Wrapper` dans `WrapperArray` ne contient pas de nœuds enfants. -- **Returns:** `{boolean}` +- **Retourne :** `{boolean}` -- **Example:** +- **Exemple :** ```js import { mount } from 'vue-test-utils' From 105cbcfd4dce11782a8d4790480892f9c7b101ba Mon Sep 17 00:00:00 2001 From: Yaty Date: Fri, 20 Oct 2017 22:01:27 +0200 Subject: [PATCH 09/16] isVueInstance.md: traduction --- docs/en/api/wrapper-array/isVueInstance.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/api/wrapper-array/isVueInstance.md b/docs/en/api/wrapper-array/isVueInstance.md index 66d556b7f..1ca0aca26 100644 --- a/docs/en/api/wrapper-array/isVueInstance.md +++ b/docs/en/api/wrapper-array/isVueInstance.md @@ -1,10 +1,10 @@ # isVueInstance() -Assert every `Wrapper` in `WrapperArray` is Vue instance. +Asserte que chaque `Wrapper` dans `WrapperArray` possède une instance de Vue. -- **Returns:** `{boolean}` +- **Retourne :** `{boolean}` -- **Example:** +- **Exemple :** ```js import { mount } from 'vue-test-utils' From 70c701c733d75996d68caa69534fad99eef960b9 Mon Sep 17 00:00:00 2001 From: Yaty Date: Fri, 20 Oct 2017 22:03:15 +0200 Subject: [PATCH 10/16] README.md: traduction --- docs/en/api/wrapper-array/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/en/api/wrapper-array/README.md b/docs/en/api/wrapper-array/README.md index 2a6d40ccc..681a20f4b 100644 --- a/docs/en/api/wrapper-array/README.md +++ b/docs/en/api/wrapper-array/README.md @@ -1,11 +1,11 @@ # WrapperArray -A `WrapperArray` is an object that contains an array of [Wrappers](../wrapper/README.md), and methods to test the `Wrappers`. +Un `WrapperArray` est un objet contenant un tableau de [Wrappers](../wrapper/README.md) ainsi que les méthodes pour tester les `Wrappers`. -- **Properties:** +- **Propriétés :** -`length` `number`: the number of `Wrappers` contained in the `WrapperArray` +`length` `number`: le nombre de `Wrappers` que le `WrapperArray` contient - - **Methods:** + - **Méthodes :** -There is a detailed list of methods in the WrapperArray section of the docs. +Il y a une liste détaillé des méthodes dans la section `WrapperArray` de la documentation. From fee0bfeae8c33439d962f32e68e0ee9570668f0e Mon Sep 17 00:00:00 2001 From: Yaty Date: Fri, 20 Oct 2017 22:04:34 +0200 Subject: [PATCH 11/16] setData.md: traduction --- docs/en/api/wrapper-array/setData.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/api/wrapper-array/setData.md b/docs/en/api/wrapper-array/setData.md index f4f69bf61..321ca4a10 100644 --- a/docs/en/api/wrapper-array/setData.md +++ b/docs/en/api/wrapper-array/setData.md @@ -1,13 +1,13 @@ # setData(data) -Sets `Wrapper` `vm` data and forces update on each `Wrapper` in `WrapperArray`. +Fixe les données de l'instance de Vue `vm` du `Wrapper` `vm` puis force la mise à jour sur chaque `Wrapper` de `WrapperArray`. -**Note every `Wrapper` must contain a Vue instance.** +**Note : chaque `Wrapper` doit contenir une instance de Vue.** -- **Arguments:** +- **Paramètres :** - `{Object} data` -- **Example:** +- **Exemple :** ```js import { mount } from 'vue-test-utils' From a2171281abc59e620aba07ae693c4fb8df14ce80 Mon Sep 17 00:00:00 2001 From: Yaty Date: Fri, 20 Oct 2017 22:05:58 +0200 Subject: [PATCH 12/16] setMethods.md: traduction --- docs/en/api/wrapper-array/setMethods.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/api/wrapper-array/setMethods.md b/docs/en/api/wrapper-array/setMethods.md index 5d50927ae..fa2124654 100644 --- a/docs/en/api/wrapper-array/setMethods.md +++ b/docs/en/api/wrapper-array/setMethods.md @@ -1,14 +1,14 @@ # setMethods(methods) -Sets `Wrapper` `vm` methods and forces update on each `Wrapper` in `WrapperArray`. +Fixe les méthodes de l'instance de Vue `vm` du `Wrapper` et force la mise à jour sur chaque `Wrapper` de `WrapperArray`. -**Note every `Wrapper` must contain a Vue instance.** +**Note : chaque `Wrapper` doit conenir une instance de Vue.** -- **Arguments:** +- **Paramètre :** - `{Object} methods` -- **Example:** +- **Exemple :** ```js import { mount } from 'vue-test-utils' From 84fecac98ae693f0387ebeb8e6c9dad37b859987 Mon Sep 17 00:00:00 2001 From: Yaty Date: Fri, 20 Oct 2017 22:07:17 +0200 Subject: [PATCH 13/16] setProps.md: traduction --- docs/en/api/wrapper-array/setProps.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/api/wrapper-array/setProps.md b/docs/en/api/wrapper-array/setProps.md index c68e84f1d..7f10e179f 100644 --- a/docs/en/api/wrapper-array/setProps.md +++ b/docs/en/api/wrapper-array/setProps.md @@ -1,13 +1,13 @@ # setProps(props) -Sets `Wrapper` `vm` props and forces update on each `Wrapper` in `WrapperArray`. +Fixe les `props` de l'instance de Vue `vm` du `Wrapper` et force la mise à jour sur chaque `Wrapper` de `WrapperArray`. -**Note every `Wrapper` must contain a Vue instance.** +**Note : chaque `Wrapper` doit contenir une instance de Vue.** -- **Arguments:** +- **Paramètre :** - `{Object} props` -- **Example:** +- **Exemple :** ```js import { mount } from 'vue-test-utils' From 9e2ad1c3078cdaca78a89f1727d091e6ce44f529 Mon Sep 17 00:00:00 2001 From: Yaty Date: Fri, 20 Oct 2017 22:08:34 +0200 Subject: [PATCH 14/16] trigger.md: traduction --- docs/en/api/wrapper-array/trigger.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/api/wrapper-array/trigger.md b/docs/en/api/wrapper-array/trigger.md index 5ffdb7423..191d9d754 100644 --- a/docs/en/api/wrapper-array/trigger.md +++ b/docs/en/api/wrapper-array/trigger.md @@ -1,13 +1,13 @@ # trigger(eventName) -Triggers an event on every `Wrapper` in the `WrapperArray` DOM node. +Déclenche un évènement sur chaque nœud du DOM des `Wrapper` de `WrapperArray`. -**Note every `Wrapper` must contain a Vue instance.** +**Note : chaque `Wrapper` doit contenir une instance de Vue.** -- **Arguments:** +- **Paramètre :** - `{string} eventName` -- **Example:** +- **Exemple :** ```js import { mount } from 'vue-test-utils' From 853f928a8b2b35bb51bc71242e548a5dfd5ac93c Mon Sep 17 00:00:00 2001 From: Yaty Date: Fri, 20 Oct 2017 22:13:33 +0200 Subject: [PATCH 15/16] update.md: traduction --- docs/en/api/wrapper-array/update.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/en/api/wrapper-array/update.md b/docs/en/api/wrapper-array/update.md index de0647028..90dc24800 100644 --- a/docs/en/api/wrapper-array/update.md +++ b/docs/en/api/wrapper-array/update.md @@ -1,10 +1,10 @@ # update() -Force root Vue component of each `Wrapper` in `WrapperArray` to re-render. +Force le composant Vue principal de chaque `Wrapper` de `WrapperArray` à se mettre à jour. -If called on a Vue component wrapper array, it will force each Vue component to re-render. +Si appellée sur `WrapperArray`, il mettra à jour le composant de chaque `Wrapper`. -- **Example:** +- **Exemple :** ```js import { mount } from 'vue-test-utils' @@ -14,7 +14,7 @@ import Foo from './Foo.vue' const wrapper = mount(Foo) const divArray = wrapper.findAll('div') expect(divArray.at(0).vm.bar).toBe('bar') -divArray.at(0).vm.bar = 'new value' +divArray.at(0).vm.bar = 'nouvelle valeur' divArray.update() -expect(divArray.at(0).vm.bar).toBe('new value') +expect(divArray.at(0).vm.bar).toBe('nouvelle valeur') ``` From 810e18465a9ac678fefd9d707dacd64978839dfc Mon Sep 17 00:00:00 2001 From: Yaty Date: Fri, 20 Oct 2017 22:18:53 +0200 Subject: [PATCH 16/16] corrections --- docs/en/api/wrapper-array/README.md | 2 +- docs/en/api/wrapper-array/contains.md | 6 +++--- docs/en/api/wrapper-array/hasAttribute.md | 6 +++--- docs/en/api/wrapper-array/hasClass.md | 4 ++-- docs/en/api/wrapper-array/hasProp.md | 2 +- docs/en/api/wrapper-array/hasStyle.md | 6 +++--- docs/en/api/wrapper-array/is.md | 6 +++--- docs/en/api/wrapper-array/isEmpty.md | 2 +- docs/en/api/wrapper-array/isVueInstance.md | 2 +- docs/en/api/wrapper-array/setData.md | 4 ++-- docs/en/api/wrapper-array/setMethods.md | 1 - docs/en/api/wrapper-array/trigger.md | 2 +- 12 files changed, 21 insertions(+), 22 deletions(-) diff --git a/docs/en/api/wrapper-array/README.md b/docs/en/api/wrapper-array/README.md index 681a20f4b..0f494343a 100644 --- a/docs/en/api/wrapper-array/README.md +++ b/docs/en/api/wrapper-array/README.md @@ -4,7 +4,7 @@ Un `WrapperArray` est un objet contenant un tableau de [Wrappers](../wrapper/REA - **Propriétés :** -`length` `number`: le nombre de `Wrappers` que le `WrapperArray` contient +`length` `number`: le nombre de `Wrappers` que le `WrapperArray` contient. - **Méthodes :** diff --git a/docs/en/api/wrapper-array/contains.md b/docs/en/api/wrapper-array/contains.md index 69ccf0867..2b21805b7 100644 --- a/docs/en/api/wrapper-array/contains.md +++ b/docs/en/api/wrapper-array/contains.md @@ -1,11 +1,11 @@ # contains(selector) -Asserte que chaque `Wrapper` dans `WrapperArray` contient un élément basé sur un sélecteur. +Asserte que chaque `Wrapper` de `WrapperArray` contient un élément basé sur un sélecteur. Utilisez n'importe quels [sélecteurs](../selectors.md). -- **Paramètres :** - - `{string|Component} selector : sélecteur` +- **Paramètre :** + - `{string|Component} selector : un sélecteur` - **Retourne :** `{boolean}` diff --git a/docs/en/api/wrapper-array/hasAttribute.md b/docs/en/api/wrapper-array/hasAttribute.md index 1cbe71f1e..58d7c0754 100644 --- a/docs/en/api/wrapper-array/hasAttribute.md +++ b/docs/en/api/wrapper-array/hasAttribute.md @@ -1,10 +1,10 @@ # hasAttribute(attribute, value) -Asserte que chaque `Wrapper` dans `WrapperArray` a un nœud du DOM qui à un attribut ayant une certaine valeur. +Asserte que chaque `Wrapper` de `WrapperArray` a un nœud du DOM qui a un attribut ayant une certaine valeur. - **Paramètres :** - - `{string} attribute : attribut` - - `{string} value : valeur` + - `{string} attribute : l'attribut` + - `{string} value : la valeur` - **Retourne :** `{boolean}` diff --git a/docs/en/api/wrapper-array/hasClass.md b/docs/en/api/wrapper-array/hasClass.md index bbc795562..baba2c73f 100644 --- a/docs/en/api/wrapper-array/hasClass.md +++ b/docs/en/api/wrapper-array/hasClass.md @@ -1,8 +1,8 @@ # hasClass(className) -Asserte que chaque `Wrapper` dans `WrapperArray` a un nœud du DOM qui a une classe `className`. +Asserte que chaque `Wrapper` de `WrapperArray` a un nœud du DOM qui a une classe `className`. -- **Paramètres :** +- **Paramètre :** - `{string} className : nom d'une classe` - **Retourne :** `{boolean}` diff --git a/docs/en/api/wrapper-array/hasProp.md b/docs/en/api/wrapper-array/hasProp.md index 882e7d8ea..933f3479b 100644 --- a/docs/en/api/wrapper-array/hasProp.md +++ b/docs/en/api/wrapper-array/hasProp.md @@ -6,7 +6,7 @@ Asserte que chaque instance de Vue `vm` de `Wrapper` dans `WrapperArray` a une ` - **Paramètres :** - `{string} prop` - - `{any} value : valeur` + - `{any} value : la valeur` - **Retourne :** `{boolean}` diff --git a/docs/en/api/wrapper-array/hasStyle.md b/docs/en/api/wrapper-array/hasStyle.md index 20c23e36a..f76377a07 100644 --- a/docs/en/api/wrapper-array/hasStyle.md +++ b/docs/en/api/wrapper-array/hasStyle.md @@ -1,10 +1,10 @@ # hasStyle(style, value) -Asserte que chaque `Wrapper` dans `WrapperArray` a un nœud DOM ayant un certain style avec une certaine valeur. +Asserte que chaque `Wrapper` de `WrapperArray` a un nœud DOM ayant un certain style avec une certaine valeur. -Retourne `true` si le nœud du DOM du `Wrapper` contient un `style` correspondant à `string`. +Retourne `true` si le nœud du DOM du `Wrapper` contient un `style` correspondant à `value`. -**Note : cela va uniquement détecté les styles `inlines` quand il fonctionne avec `jsdom`.** +**Note : cela va uniquement détecter les styles `inlines` quand il fonctionne avec `jsdom`.** - **Paramètres :** - `{string} style` - `{string} value : valeur` diff --git a/docs/en/api/wrapper-array/is.md b/docs/en/api/wrapper-array/is.md index ff8ee9154..0c6619ea8 100644 --- a/docs/en/api/wrapper-array/is.md +++ b/docs/en/api/wrapper-array/is.md @@ -1,9 +1,9 @@ # is(selector) -Asserte que chaque `Wrapper` dans `WrapperArray` a un nœud du DOM ou une instance de Vue `vm` correspondant à un [sélecteur](../selectors.md). +Asserte que chaque `Wrapper` de `WrapperArray` a un nœud du DOM ou une instance de Vue `vm` correspondant à un [sélecteur](../selectors.md). -- **Paramètres :** - - `{string|Component} selector : sélecteur` +- **Paramètre :** + - `{string|Component} selector : un sélecteur` - **Retourne :** `{boolean}` diff --git a/docs/en/api/wrapper-array/isEmpty.md b/docs/en/api/wrapper-array/isEmpty.md index 48cfa9555..0f2cca02a 100644 --- a/docs/en/api/wrapper-array/isEmpty.md +++ b/docs/en/api/wrapper-array/isEmpty.md @@ -1,6 +1,6 @@ # isEmpty() -Asserte que chaque `Wrapper` dans `WrapperArray` ne contient pas de nœuds enfants. +Asserte que chaque `Wrapper` de `WrapperArray` ne contient pas de nœuds enfants. - **Retourne :** `{boolean}` diff --git a/docs/en/api/wrapper-array/isVueInstance.md b/docs/en/api/wrapper-array/isVueInstance.md index 1ca0aca26..86f8240af 100644 --- a/docs/en/api/wrapper-array/isVueInstance.md +++ b/docs/en/api/wrapper-array/isVueInstance.md @@ -1,6 +1,6 @@ # isVueInstance() -Asserte que chaque `Wrapper` dans `WrapperArray` possède une instance de Vue. +Asserte que chaque `Wrapper` de `WrapperArray` possède une instance de Vue. - **Retourne :** `{boolean}` diff --git a/docs/en/api/wrapper-array/setData.md b/docs/en/api/wrapper-array/setData.md index 321ca4a10..279531f91 100644 --- a/docs/en/api/wrapper-array/setData.md +++ b/docs/en/api/wrapper-array/setData.md @@ -1,10 +1,10 @@ # setData(data) -Fixe les données de l'instance de Vue `vm` du `Wrapper` `vm` puis force la mise à jour sur chaque `Wrapper` de `WrapperArray`. +Fixe les données de l'instance de Vue `vm` du `Wrapper` puis force la mise à jour sur chaque `Wrapper` de `WrapperArray`. **Note : chaque `Wrapper` doit contenir une instance de Vue.** -- **Paramètres :** +- **Paramètre :** - `{Object} data` - **Exemple :** diff --git a/docs/en/api/wrapper-array/setMethods.md b/docs/en/api/wrapper-array/setMethods.md index fa2124654..979a85582 100644 --- a/docs/en/api/wrapper-array/setMethods.md +++ b/docs/en/api/wrapper-array/setMethods.md @@ -1,4 +1,3 @@ - # setMethods(methods) Fixe les méthodes de l'instance de Vue `vm` du `Wrapper` et force la mise à jour sur chaque `Wrapper` de `WrapperArray`. diff --git a/docs/en/api/wrapper-array/trigger.md b/docs/en/api/wrapper-array/trigger.md index 191d9d754..4e7e0aa36 100644 --- a/docs/en/api/wrapper-array/trigger.md +++ b/docs/en/api/wrapper-array/trigger.md @@ -5,7 +5,7 @@ Déclenche un évènement sur chaque nœud du DOM des `Wrapper` de `WrapperArray **Note : chaque `Wrapper` doit contenir une instance de Vue.** - **Paramètre :** - - `{string} eventName` + - `{string} eventName : nom de l'évènement` - **Exemple :**