pinafore/routes/_components/pseudoVirtualList/PseudoVirtualListLazyItem.html

25 lines
672 B
HTML
Raw Normal View History

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