diff --git a/src/renderer/components/ft-list-video-lazy/ft-list-video-lazy.js b/src/renderer/components/ft-list-video-lazy/ft-list-video-lazy.js new file mode 100644 index 0000000000000..fcffb92787967 --- /dev/null +++ b/src/renderer/components/ft-list-video-lazy/ft-list-video-lazy.js @@ -0,0 +1,55 @@ +import Vue from 'vue' +import FtListVideo from '../ft-list-video/ft-list-video.vue' + +export default Vue.extend({ + name: 'FtListVideoLazy', + components: { + 'ft-list-video': FtListVideo + }, + props: { + data: { + type: Object, + required: true + }, + playlistId: { + type: String, + default: null + }, + playlistIndex: { + type: Number, + default: null + }, + playlistReverse: { + type: Boolean, + default: false + }, + playlistShuffle: { + type: Boolean, + default: false + }, + playlistLoop: { + type: Boolean, + default: false + }, + forceListType: { + type: String, + default: null + }, + appearance: { + type: String, + required: true + } + }, + data: function () { + return { + visible: false + } + }, + methods: { + onVisibilityChanged: function (visible) { + if (visible) { + this.visible = visible + } + } + } +}) diff --git a/src/renderer/components/ft-list-video-lazy/ft-list-video-lazy.vue b/src/renderer/components/ft-list-video-lazy/ft-list-video-lazy.vue new file mode 100644 index 0000000000000..590ca9e78e76a --- /dev/null +++ b/src/renderer/components/ft-list-video-lazy/ft-list-video-lazy.vue @@ -0,0 +1,23 @@ + + +