mirror of
https://github.com/nolanlawson/pinafore
synced 2024-12-11 09:45:24 +01:00
23 lines
507 B
HTML
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> |