1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-01-10 10:16:20 +01:00
Pinafore-Web-Client-Frontend/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>