Implement recursive Interface in vue
This commit is contained in:
parent
a11f9b7f62
commit
9f2cde2275
6 changed files with 167 additions and 57 deletions
23
webapp/src/components/genericComponents/simpleAccordion.vue
Normal file
23
webapp/src/components/genericComponents/simpleAccordion.vue
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<template>
|
||||
<ul uk-accordion="multiple: true">
|
||||
<li>
|
||||
<a class="uk-accordion-title" href="#">{{ title }}</a>
|
||||
<div class="uk-accordion-content">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: "SimpleAccordion",
|
||||
|
||||
props: {
|
||||
title: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style scoped></style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue