Pinafore-Web-Client-Frontend/routes/_components/pseudoVirtualList/PseudoVirtualListLazyItem.html

25 lines
672 B
HTML

{{#await asyncProps}}
{{then props}}
<PseudoVirtualListItem :component
:props
:key
:index
:length
:intersectionObserver
:isIntersecting
:isCached
:height
on:scrollToPosition
/>
{{/await}}
<script>
import PseudoVirtualListItem from './PseudoVirtualListItem.html'
export default {
components: {
PseudoVirtualListItem
},
computed: {
asyncProps: async (makeProps, key) => makeProps && makeProps(key)
}
}
</script>