-
Notifications
You must be signed in to change notification settings - Fork 87
docs: Components In-Depth > Template refs #81
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
docs: Components In-Depth > Template refs #81
Conversation
Deploy preview for vuejs-v3-ja-doc-preview ready! Built with commit 054dab2 https://deploy-preview-81--vuejs-v3-ja-doc-preview.netlify.app |
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.
レビュー 👀 コメント 💬 しました。
対応お願いします! 🙏
src/guide/component-template-refs.md
Outdated
@@ -1,14 +1,14 @@ | |||
# Template refs | |||
# Template refs について |
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.
このセクションは、$refs
を使ったテンプレートの参照の仕方について解説しています。
なので、以下のように訳しましょう。
# Template refs について | |
# テンプレート参照について |
src/guide/component-template-refs.md
Outdated
|
||
Despite the existence of props and events, sometimes you might still need to directly access a child component in JavaScript. To achieve this you can assign a reference ID to the child component or HTML element using the `ref` attribute. For example: | ||
プロップやイベントが存在するにもかかわらず、 JavaScript で子コンポーネントに直接アクセスしなければならない場合があります。それを達成するために、`ref` 属性を使うことで子コンポーネントや HTML 要素に参照IDを割り当てられます。例えば、以下のようになります: |
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.
- この文章での
props
は、以下のように、文章の文脈上、プロパティ
と訳しましょう。 - Vue 公式ドキュメントの翻訳はこれまでに読みやすさのために日本語文章に英単語がある場合はスペース入れてきました。なので、スペース入れていきましょう。
以下でお願いします!
プロップやイベントが存在するにもかかわらず、 JavaScript で子コンポーネントに直接アクセスしなければならない場合があります。それを達成するために、`ref` 属性を使うことで子コンポーネントや HTML 要素に参照IDを割り当てられます。例えば、以下のようになります: | |
プロパティやイベントが存在するにもかかわらず、 JavaScript で子コンポーネントに直接アクセスしなければならない場合があります。それを達成するために、`ref` 属性を使うことで子コンポーネントや HTML 要素に参照 ID を割り当てられます。例えば、以下のようになります: |
src/guide/component-template-refs.md
Outdated
::: | ||
|
||
**See also**: [Using template refs in Composition API](/guide/composition-api-template-refs.html#template-refs) | ||
**こちらも参照してください**: [コンポジションAPIでTemplate refsを使用する](/guide/composition-api-template-refs.html#template-refs) |
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.
これまでのレビューコメントから、以下でお願いします 🙏
**こちらも参照してください**: [コンポジションAPIでTemplate refsを使用する](/guide/composition-api-template-refs.html#template-refs) | |
**こちらも参照してください**: [コンポジション API でテンプレート参照を使用する](/guide/composition-api-template-refs.html#template-refs) |
@kazupon |
ありがとうございます! 翻訳ありがとうございました! |
resolve #19
Components In-Depth > Template refs の翻訳
https://deploy-preview-81--vuejs-v3-ja-doc-preview.netlify.app/guide/component-template-refs.html