forked from cybrespace/pinafore
20 lines
435 B
HTML
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> |