mirror of https://github.com/sveltejs/svelte
14 lines
193 B
14 lines
193 B
8 years ago
|
<div>
|
||
|
{{#if visible}}
|
||
|
<Widget on:teardown='fire("widgetTornDown")'/>
|
||
|
{{/if}}
|
||
|
</div>
|
||
|
|
||
|
<script>
|
||
|
import Widget from './Widget.html';
|
||
|
|
||
|
export default {
|
||
|
components: { Widget }
|
||
|
};
|
||
|
</script>
|