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

docs: fix nested modals example

parent 8d4f0643
No related branches found
No related tags found
No related merge requests found
Pipeline #33884 passed
...@@ -88,17 +88,13 @@ const open5 = ref(false) ...@@ -88,17 +88,13 @@ const open5 = ref(false)
```vue-html ```vue-html
<fw-modal v-model="open" title="My modal"> <fw-modal v-model="open" title="My modal">
Modal content <fw-modal v-model="openNested" title="My modal">
Nested modal content
<template #actions> </fw-modal>
<fw-button @click="open = false" color="secondary">
Cancel
</fw-button>
<fw-button @click="open = false"> <fw-button @click="openNested = true">
Ok Open nested modal
</fw-button> </fw-button>
</template>
</fw-modal> </fw-modal>
<fw-button @click="open = true"> <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