pinafore/routes/_components/virtualList/VirtualListLazyItem.html
2018-01-25 08:23:14 -08:00

22 lines
480 B
HTML

{{#if props}}
<VirtualListItem :component
:offset
:props
:key
:index
/>
{{/if}}
<script>
import VirtualListItem from './VirtualListItem'
export default {
async oncreate() {
let makeProps = this.get('makeProps')
let key = this.get('key')
let props = await makeProps(key)
this.set({ props: props })
},
components: {
VirtualListItem
}
}
</script>