43 lines
729 B
JavaScript
43 lines
729 B
JavaScript
import Vue from 'vue'
|
|
|
|
export default Vue.extend({
|
|
name: 'FtListDropdown',
|
|
props: {
|
|
title: {
|
|
type: String,
|
|
required: true
|
|
},
|
|
labelNames: {
|
|
type: Array,
|
|
required: true
|
|
},
|
|
labelValues: {
|
|
type: Array,
|
|
required: true
|
|
}
|
|
},
|
|
data: function () {
|
|
return {
|
|
id: '',
|
|
thumbnail: '',
|
|
channelName: '',
|
|
subscriberCount: 0,
|
|
videoCount: '',
|
|
uploadedTime: '',
|
|
description: ''
|
|
}
|
|
},
|
|
computed: {
|
|
listType: function () {
|
|
return this.$store.getters.getListType
|
|
}
|
|
},
|
|
mounted: function () {
|
|
},
|
|
methods: {
|
|
goToChannel: function () {
|
|
console.log('TODO: ft-list-channel method goToChannel')
|
|
}
|
|
}
|
|
})
|