mirror of https://github.com/FreeTubeApp/FreeTube
20 lines
634 B
Vue
20 lines
634 B
Vue
<template>
|
|
<ft-auto-grid
|
|
:grid="displayValue !== 'list'"
|
|
>
|
|
<ft-list-lazy-wrapper
|
|
v-for="(result, index) in data"
|
|
:key="`${result.type}-${result.videoId || result.playlistId || result.postId || result.id || result.authorId}-${index}`"
|
|
appearance="result"
|
|
:data="result"
|
|
:first-screen="index < 16"
|
|
:layout="displayValue"
|
|
:show-video-with-last-viewed-playlist="showVideoWithLastViewedPlaylist"
|
|
:use-channels-hidden-preference="useChannelsHiddenPreference"
|
|
/>
|
|
</ft-auto-grid>
|
|
</template>
|
|
|
|
<script src="./ft-element-list.js" />
|
|
<style scoped src="./ft-element-list.css" />
|