Skip to content
Snippets Groups Projects
Commit be424c71 authored by Kasper Seweryn's avatar Kasper Seweryn :pancakes:
Browse files

docs: fix nested modals example

parent 7f53b56b
No related branches found
No related tags found
No related merge requests found
......@@ -88,17 +88,13 @@ const open5 = ref(false)
```vue-html
<fw-modal v-model="open" title="My modal">
Modal content
<template #actions>
<fw-button @click="open = false" color="secondary">
Cancel
</fw-button>
<fw-modal v-model="openNested" title="My modal">
Nested modal content
</fw-modal>
<fw-button @click="open = false">
Ok
<fw-button @click="openNested = true">
Open nested modal
</fw-button>
</template>
</fw-modal>
<fw-button @click="open = true">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment