1
0
mirror of https://github.com/nolanlawson/pinafore synced 2024-12-13 18:57:02 +01:00
Pinafore-Web-Client-Frontend/routes/_components/virtualList/VirtualListLazyItem.html

20 lines
435 B
HTML
Raw Normal View History

2018-02-25 20:20:40 +01:00
{{#await asyncProps}}
{{then props}}
<VirtualListItem :component
:offset
:props
:key
:index
/>
{{/await}}
<script>
import VirtualListItem from './VirtualListItem'
export default {
components: {
VirtualListItem
2018-02-25 20:20:40 +01:00
},
computed: {
asyncProps: async (makeProps, key) => makeProps && makeProps(key)
}
}
</script>