Skip to content

Conversation

@naokie
Copy link
Member

@naokie naokie commented Apr 28, 2021


## 関数による省略記法

前回の例では`mounted``updated` に同じ振る舞いを欲しかったでしょう。しかし、その他のフック関数を気にしてはいけません。ディレクティブにコールバックを渡すことで実現できます:
Copy link
Member Author

Choose a reason for hiding this comment

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

この訳が不自然だったので、再翻訳しました。

@netlify
Copy link

netlify bot commented Apr 28, 2021

Deploy preview for vuejs-v3-ja-doc-preview ready!

Built with commit de5b8b3

https://deploy-preview-291--vuejs-v3-ja-doc-preview.netlify.app

Copy link
Member

@kazupon kazupon left a comment

Choose a reason for hiding this comment

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

LGTM!

@kazupon kazupon merged commit 06fd0aa into vuejs-jp:lang-ja Apr 28, 2021
@naokie naokie deleted the guide/custom-directive branch April 29, 2021 02:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants