orchard/src/renderer/views/components/mediaitem-scroller-horizontal.ejs
booploops 26d17be145 playlist/album revamp, temp disabled inline playlists
revamped playlists/albums pages

temporarily disabled inline versions until they are updated
2022-04-20 21:43:26 -07:00

32 lines
No EOL
865 B
Text

<script type="text/x-template" id="mediaitem-scroller-horizontal">
<vue-horizontal ref="horizontal">
<slot></slot>
<mediaitem-square :key="item?.id ?? ''" :kind="kind" :item="item" v-for="item in items"></mediaitem-square>
</vue-horizontal>
</script>
<script>
Vue.component('mediaitem-scroller-horizontal', {
template: '#mediaitem-scroller-horizontal',
props: {
'items': {
type: Array,
required: false
},
'kind': {
type: String,
required: false,
defualt: ""
}
},
data: function() {
return {
app: this.$root,
}
},
mounted() {
// this.$refs.horizontal.refresh()
},
methods: {}
});
</script>