forked from cybrespace/pinafore
25 lines
672 B
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> |