Fixed multiple accordion demo
parent
5b608615bf
commit
62438a09d6
|
@ -3,7 +3,7 @@
|
||||||
<p>Only one tab at a time can be active by default, enabling <i>multiple</i> property changes this behavior to allow multiple panels. In this case <i>value</i> needs to be an array.</p>
|
<p>Only one tab at a time can be active by default, enabling <i>multiple</i> property changes this behavior to allow multiple panels. In this case <i>value</i> needs to be an array.</p>
|
||||||
</DocSectionText>
|
</DocSectionText>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<Accordion value="0" multiple>
|
<Accordion :value="['0']" multiple>
|
||||||
<AccordionPanel value="0">
|
<AccordionPanel value="0">
|
||||||
<AccordionHeader>Header I</AccordionHeader>
|
<AccordionHeader>Header I</AccordionHeader>
|
||||||
<AccordionContent>
|
<AccordionContent>
|
||||||
|
@ -42,7 +42,7 @@ export default {
|
||||||
return {
|
return {
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<Accordion value="0" multiple>
|
<Accordion :value="['0']" multiple>
|
||||||
<AccordionPanel value="0">
|
<AccordionPanel value="0">
|
||||||
<AccordionHeader>Header I</AccordionHeader>
|
<AccordionHeader>Header I</AccordionHeader>
|
||||||
<AccordionContent>
|
<AccordionContent>
|
||||||
|
@ -75,7 +75,7 @@ export default {
|
||||||
options: `
|
options: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<Accordion value="0" multiple>
|
<Accordion :value="['0']" multiple>
|
||||||
<AccordionPanel value="0">
|
<AccordionPanel value="0">
|
||||||
<AccordionHeader>Header I</AccordionHeader>
|
<AccordionHeader>Header I</AccordionHeader>
|
||||||
<AccordionContent>
|
<AccordionContent>
|
||||||
|
@ -113,7 +113,7 @@ export default {
|
||||||
composition: `
|
composition: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<Accordion value="0" multiple>
|
<Accordion :value="['0']" multiple>
|
||||||
<AccordionPanel value="0">
|
<AccordionPanel value="0">
|
||||||
<AccordionHeader>Header I</AccordionHeader>
|
<AccordionHeader>Header I</AccordionHeader>
|
||||||
<AccordionContent>
|
<AccordionContent>
|
||||||
|
|
Loading…
Reference in New Issue