lesson 133: add a default close button

This commit is contained in:
Andreas Zweili 2021-02-08 20:06:57 +01:00
parent 12f7f0e9ab
commit fd72fb3209
1 changed files with 5 additions and 1 deletions

View File

@ -7,7 +7,11 @@
</slot>
</header>
<section><slot name="default"></slot></section>
<menu><slot name="actions"></slot></menu>
<menu
><slot name="actions">
<base-button @click="$emit('close')">Close</base-button>
</slot></menu
>
</dialog>
</template>
<script>