onElementRemoval
onElementRemoval
要素またはそれを含む要素が削除されたときに発火します。
使用法
<template>
<button v-if="btnState">
recreate me
</button>
<button ref="btnRef">
remove me
</button>
<b>removed times: {{ removedCount }}</b>
</template>
© 2019–PRESENT Anthony Fu https://github.com/antfu
※このページは Nuxt.js 公式ドキュメントの翻訳ページです。
公式ドキュメントの該当ページはこちら:
#