lesson 133: add a default close button
This commit is contained in:
parent
12f7f0e9ab
commit
fd72fb3209
|
@ -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>
|
||||
|
|
Reference in New Issue