-
Notifications
You must be signed in to change notification settings - Fork 2
API: Wrapper array #17
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
Conversation
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.
Quelques erreurs et remarques
|
||
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. |
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étaillé => détaillée
@@ -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. |
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.
Retourne le Wrapper
pour l'index
passé en paramètre.
il faut laisser index entre ` car c'est un paramètre
@@ -1,15 +1,15 @@ | |||
# contains(selector) | |||
|
|||
Assert every wrapper in `WrapperArray` contains selector. | |||
Asserte que chaque `Wrapper` de `WrapperArray` contient un élément basé sur un sélecteur. |
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.
Asserte que chaque Wrapper
=> Asserte que chaque wrapper
ne pas mettre les ` et la majuscule pour respecter les mises en page de l'original, ou alors il faut prévoir un PR sur l'original
@@ -1,14 +1,14 @@ | |||
# hasAttribute(attribute, value) | |||
|
|||
Assert every `Wrapper` in `WrapperArray` DOM node has `attribute` matching `value`. | |||
Asserte que chaque `Wrapper` de `WrapperArray` a un nœud du DOM qui a un attribut ayant une certaine valeur. |
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.
qui a un attribut ayant une certaine valeur. => qui a un attribut (attribute
) ayant une certaine valeur (value
).
@@ -1,13 +1,13 @@ | |||
# hasClass(className) | |||
|
|||
Assert every `Wrapper` in `WrapperArray` DOM node has class containing `className`. | |||
Asserte que chaque `Wrapper` de `WrapperArray` a un nœud du DOM qui a une classe `className`. |
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.
a un nœud du DOM qui a une classe className
. => a un nœud du DOM qui a une classe contenant className
.
|
||
**Note will only detect inline styles when running in `jsdom`.** | ||
- **Arguments:** | ||
**Note : cela va uniquement détecter les styles `inlines` quand il fonctionne avec `jsdom`.** |
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.
cela va uniquement détecter les styles inlines
quand il fonctionne avec jsdom
=> cela détectera uniquement les styles "inlines" en cours d'exécution dans jsdom
@@ -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` puis force la mise à jour sur chaque `Wrapper` de `WrapperArray`. |
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.
Fixe => Définit
# 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`. |
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.
Fixe => Définit
@@ -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`. |
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.
Fixe les props
de l'instance => Définit les props de l'instance
@@ -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. |
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.
Force le composant Vue principal de chaque Wrapper
de WrapperArray
à se mettre à jour. => Force le re-rendu du composant racine de Vue de chaque Wrapper
de WrapperArray
.
No description provided.