Skip to content

docs: a few improvements #391

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 1 commit into from
Jun 17, 2021
Merged
Show file tree
Hide file tree
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
14 changes: 7 additions & 7 deletions src/guide/migration/attribute-coercion.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,16 @@ badges:

| バインディング式 | `foo` <sup>通常の属性</sup> | `draggable` <sup>列挙された属性</sup> |
| ------------------- | --------------------------- | ------------------------------------- |
| `:attr="null"` | / | / <sup></sup> |
| `:attr="null"` | / | / <sup>*</sup> |
| `:attr="undefined"` | / | / |
| `:attr="true"` | `foo="true"` | `draggable="true"` |
| `:attr="false"` | `foo="false"` <sup></sup> | `draggable="false"` |
| `:attr="0"` | `foo="0"` | `draggable="0"` <sup></sup> |
| `attr=""` | `foo=""` | `draggable=""` <sup></sup> |
| `attr="foo"` | `foo="foo"` | `draggable="foo"` <sup></sup> |
| `attr` | `foo=""` | `draggable=""` <sup></sup> |
| `:attr="false"` | `foo="false"` <sup>*</sup> | `draggable="false"` |
| `:attr="0"` | `foo="0"` | `draggable="0"` <sup>*</sup> |
| `attr=""` | `foo=""` | `draggable=""` <sup>*</sup> |
| `attr="foo"` | `foo="foo"` | `draggable="foo"` <sup>*</sup> |
| `attr` | `foo=""` | `draggable=""` <sup>*</sup> |

<small>: 変更点</small>
<small>*: 変更点</small>

ブール属性への強制はそのままです。

Expand Down
2 changes: 1 addition & 1 deletion src/guide/migration/custom-directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,5 @@ mounted(el, binding, vnode) {
```

:::warning
[fragments](/guide/migration/fragments.html#overview) のサポートにより、コンポーネントは複数のルートノードを持つ可能性があります。マルチルートコンポーネントに適用すると、ディレクティブは無視され、警告がログ出力されます。
[fragments](/guide/migration/fragments.html#overview) のサポートにより、コンポーネントは複数のルートノードを持つ可能性があります。マルチルートコンポーネントに適用すると、カスタムディレクティブは無視され、警告がログ出力されます。
:::