I’m trying to create a horizontal virtual-list (using flexbox), like so:
But somehow I can’t get it to work.
<f7-list class="horiz"
virtual-list
:virtual-list-params="{ items, searchAll, renderExternal, height:28, createUl:false}"
>
<f7-list-item class="square" v-for="(itm, idx) in vlData.items" :title="itm.title" :key="idx*1000" :style="`top: ${vlData.topPosition}px`">
<img class="abc" v-bind:src="itm.path" :alt="itm.name"/>
</f7-list-item>
</f7-list>
But I don’t know how to initialize the list. What happens is:
- It shows all items (no virtual list)
- It shows the first 140 items. (virtual-list, but not correct)
- It shows a regular list (virtual-list) -> so it’s working, but that’s not what I want
I can’t figure out how to create a horizontal virtual list.
Any hint?
PS: I also tried by adding a cols: 10
parameter, but that didn’t help.