We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd2bd31 commit 8cb0cb9Copy full SHA for 8cb0cb9
src/guide/essentials/template-refs.md
@@ -314,6 +314,8 @@ defineExpose({
314
315
親がテンプレート参照を用いてこのコンポーネントのインスタンスを取得する場合、取得されるインスタンスは `{ a: number, b: number }` の形になります(通常のインスタンスと同様に、ref は自動的にアンラップされます)。
316
317
+defineExpose は必ず await 操作の前に呼び出す必要があります。そうでないと、await 操作の後に公開されるプロパティやメソッドにアクセスできなくなります。
318
+
319
こちらもご覧ください: [コンポーネントのテンプレート参照の型付け](/guide/typescript/composition-api#typing-component-template-refs) <sup class="vt-badge ts" />
320
321
</div>
0 commit comments