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

20 lines
435 B
HTML

{{#await asyncProps}}
{{then props}}
<VirtualListItem :component
:offset
:props
:key
:index
/>
{{/await}}
<script>
import VirtualListItem from './VirtualListItem'
export default {
components: {
VirtualListItem
},
computed: {
asyncProps: async (makeProps, key) => makeProps && makeProps(key)
}
}
</script>