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.
svelte/test/runtime/samples/transition-js-slot-3/main.svelte

17 lines
221 B

<script>
import Nested from './Nested.svelte';
let nested;
export function show() {
nested.show();
}
export function hide() {
nested.hide();
}
</script>
<Nested bind:this={nested} let:data>
{data}
</Nested>