mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
v-lazy in collection page too
This commit is contained in:
parent
d9f093fdbb
commit
ec62ad9ba8
1 changed files with 3 additions and 1 deletions
|
@ -5,7 +5,9 @@
|
||||||
|
|
||||||
<!-- Events -->
|
<!-- Events -->
|
||||||
<div class='mb-2 mt-1 pl-1 pl-sm-2' id="events">
|
<div class='mb-2 mt-1 pl-1 pl-sm-2' id="events">
|
||||||
<Event :event='event' v-for='(event, idx) in events' :lazy='idx>2' :key='event.id'></Event>
|
<v-lazy class='event' :value='idx<9' v-for='(event, idx) in events' :key='event.id' :min-height='hide_thumbs ? 105 : undefined' :options="{ threshold: .5, rootMargin: '500px' }">
|
||||||
|
<Event :event='event' :lazy='idx>9' />
|
||||||
|
</v-lazy>
|
||||||
</div>
|
</div>
|
||||||
</v-container>
|
</v-container>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in a new issue