1
0
mirror of https://github.com/nolanlawson/pinafore synced 2024-12-11 09:45:24 +01:00
Pinafore-Web-Client-Frontend/routes/_components/VirtualListLazyItem.html
2018-01-23 23:19:14 -08:00

23 lines
507 B
HTML

{{#if props}}
<VirtualListItem :component
:offset
:props
:key
:index
:storeKey
/>
{{/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>