You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
ygdc/assets/js/components/overlay.js

14 lines
389 B

const html = (v) => { return v[0] };
// Not needed anymore
export default {
props: ['component', "props", "active", "stack"],
setup(props) {
return { }
},
template: html`
<div class="overlay">
<component :is="component" v-bind="props" :active="active" :stack="stack" @resolve="(e) => $emit('resolve', e)" @reject="(e) => $emit('reject', e)"></component>
</div>
`
}