pinafore/routes/_components/pseudoVirtualList/PseudoVirtualListLazyItem.html
2018-02-25 11:20:40 -08:00

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>