Skip to content

Traduction de advanced/transitions.md #13

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 3 commits into from
May 27, 2017
Merged

Traduction de advanced/transitions.md #13

merged 3 commits into from
May 27, 2017

Conversation

Kocal
Copy link
Member

@Kocal Kocal commented May 27, 2017

No description provided.

Copy link
Member

@MachinisteWeb MachinisteWeb left a comment

Choose a reason for hiding this comment

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

Un échange de mot et que des propositions, je te laisse voir ce que tu préfères :)


``` html
<transition>
<router-view></router-view>
</transition>
```

[Everything about `<transition>`](http://vuejs.org/guide/transitions.html) works the same here.
[Tout à propos de `<transition>`](http://vuejs.org/guide/transitions.html) fonctionne également ici de la même manière.
Copy link
Member

Choose a reason for hiding this comment

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

Mettre le lien vers la version FR : http://fr.vuejs.org/guide/transitions.html


The above usage will apply the same transition for all routes. If you want each route's component to have different transitions, you can instead use `<transition>` with different names inside each route component:
L'utilisation au dessus applique la même transition pour chaque route. Si vous voulez que les composants de route aient des transitions différentes, vous pouvez utiliser à la place `<transition>` avec des différents noms à l'intérieur de chaque composant de route :
Copy link
Member

Choose a reason for hiding this comment

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

des noms différents


``` html
<!-- use a dynamic transition name -->
<!-- utilise un nom de transition dynamique -->
Copy link
Member

Choose a reason for hiding this comment

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

J'utilise quasiment systématiquement l'infinitif. C'est une proposition. Ça permet de pas avoir a rajouter des « on » comme c'est le cas un peut plus loin.

utiliser

ou

on utilise

// then, in the parent component,
// watch the $route to determine the transition to use
// et dans le composant parent,
// on observe la $route pour déterminer la transition à utiliser
Copy link
Member

Choose a reason for hiding this comment

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

Possiblement

observer

@Kocal
Copy link
Member Author

Kocal commented May 27, 2017

Mis à jour !

Copy link
Member

@MachinisteWeb MachinisteWeb left a comment

Choose a reason for hiding this comment

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

Tiens je viens de voir ça :)

// then, in the parent component,
// watch the $route to determine the transition to use
// et dans le composant parent,
// observer la $route pour déterminer la transition à utiliser
Copy link
Member

Choose a reason for hiding this comment

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

la $route

je PR l'original

@Kocal
Copy link
Member Author

Kocal commented May 27, 2017

Modifié !

@Kocal Kocal merged commit 7f42679 into vuejs-fr:working May 27, 2017
@Kocal Kocal deleted the advanced/transitions.md branch May 27, 2017 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants