pinafore/routes/_components/virtualList/VirtualListLazyItem.html

20 lines
435 B
HTML
Raw Normal View History

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