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

25 lines
672 B
HTML
Raw Normal View History

2018-02-25 20:20:40 +01:00
{{#await asyncProps}}
{{then props}}
<PseudoVirtualListItem :component
:props
:key
:index
2018-02-04 19:05:01 +01:00
:length
:intersectionObserver
2018-01-31 06:17:01 +01:00
:isIntersecting
:isCached
:height
on:scrollToPosition
/>
2018-02-25 20:20:40 +01:00
{{/await}}
<script>
import PseudoVirtualListItem from './PseudoVirtualListItem.html'
export default {
components: {
PseudoVirtualListItem
2018-02-25 20:20:40 +01:00
},
computed: {
asyncProps: async (makeProps, key) => makeProps && makeProps(key)
}
}
</script>