Skip to content

[v1.0] Fix translation of guide/class-and-style #162

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 2 commits into from
Sep 28, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/guide/class-and-style.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ data: {
<div v-bind:class="[classA, isB ? classB : '']">
```

これは常に `classA` が適用されますが、`isB` が `true` のとき、`classB` だけ適用されます
これは常に `classA` が適用されますが、`isB` が `true` のときだけ、`classB` が適用されます

しかしながら、これは複数条件のクラスがある場合は少し冗長です。1.0.19+ バージョンでは、配列構文内部にオブジェクト構文を使用することも可能です:

Expand Down Expand Up @@ -124,4 +124,4 @@ data: {

### 自動プリフィックス

`v-bind:style` でベンダー接頭辞を要求される CSS プロパティを使用するとき、例えば、`transform` においては、Vue.js は自動的に検出し、適用されるスタイルに適切な接頭辞をを追加します
`v-bind:style` でベンダー接頭辞を要求される CSS プロパティを使用するとき、例えば、`transform` においては、Vue.js は自動的に検出し、適用されるスタイルに適切な接頭辞を追加します