Add accordion macro
This commit is contained in:
14
js/components/accordion.js
Normal file
14
js/components/accordion.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import ToggleMixin from '../mixins/toggle'
|
||||
|
||||
export default {
|
||||
name: 'accordion',
|
||||
|
||||
mixins: [ToggleMixin],
|
||||
|
||||
props: {
|
||||
defaultVisible: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
}
|
@@ -30,6 +30,7 @@ import SemiCollapsibleText from './components/semi_collapsible_text'
|
||||
import ToForm from './components/forms/to_form'
|
||||
import ClinFields from './components/clin_fields'
|
||||
import PopDateRange from './components/pop_date_range'
|
||||
import Accordion from './components/accordion'
|
||||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
@@ -40,6 +41,7 @@ Vue.mixin(Modal)
|
||||
const app = new Vue({
|
||||
el: '#app-root',
|
||||
components: {
|
||||
Accordion,
|
||||
dodlogin,
|
||||
toggler,
|
||||
optionsinput,
|
||||
|
Reference in New Issue
Block a user