mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-11 09:52:35 +00:00
Fixed #5643 - Reimplement: Accordion
This commit is contained in:
parent
6cbb5e0993
commit
10f530f7b1
30 changed files with 1049 additions and 243 deletions
34
components/lib/accordionpanel/BaseAccordionPanel.vue
Normal file
34
components/lib/accordionpanel/BaseAccordionPanel.vue
Normal file
|
@ -0,0 +1,34 @@
|
|||
<script>
|
||||
import AccordionPanelStyle from 'primevue/accordionpanel/style';
|
||||
import BaseComponent from 'primevue/basecomponent';
|
||||
|
||||
export default {
|
||||
name: 'BaseAccordionPanel',
|
||||
extends: BaseComponent,
|
||||
props: {
|
||||
value: {
|
||||
type: String,
|
||||
default: undefined
|
||||
},
|
||||
disabled: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
as: {
|
||||
type: String,
|
||||
default: 'DIV'
|
||||
},
|
||||
asChild: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
style: AccordionPanelStyle,
|
||||
provide() {
|
||||
return {
|
||||
$pcAccordionPanel: this,
|
||||
$parentInstance: this
|
||||
};
|
||||
}
|
||||
};
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue