2020-02-16 18:30:00 +00:00
|
|
|
import Vue from 'vue'
|
|
|
|
import FtFlexBox from '../ft-flex-box/ft-flex-box.vue'
|
2020-06-23 15:47:19 +00:00
|
|
|
import FtAutoGrid from '../ft-auto-grid/ft-auto-grid.vue'
|
2020-08-24 19:50:03 +00:00
|
|
|
import FtListLazyWrapper from '../ft-list-lazy-wrapper/ft-list-lazy-wrapper.vue'
|
2020-02-16 18:30:00 +00:00
|
|
|
|
|
|
|
export default Vue.extend({
|
|
|
|
name: 'FtElementList',
|
|
|
|
components: {
|
|
|
|
'ft-flex-box': FtFlexBox,
|
2020-06-23 15:47:19 +00:00
|
|
|
'ft-auto-grid': FtAutoGrid,
|
2020-08-24 19:50:03 +00:00
|
|
|
'ft-list-lazy-wrapper': FtListLazyWrapper
|
2020-02-16 18:30:00 +00:00
|
|
|
},
|
|
|
|
props: {
|
|
|
|
data: {
|
|
|
|
type: Array,
|
|
|
|
required: true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
data: function () {
|
|
|
|
return {
|
|
|
|
test: 'hello'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
computed: {
|
|
|
|
listType: function () {
|
|
|
|
return this.$store.getters.getListType
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|