Skip to content

Commit f33173f

Browse files
authored
(chore) test for #886 (#892)
1 parent 02ee116 commit f33173f

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
///<reference types="svelte" />
2+
<></>;
3+
import { createEventDispatcher } from "svelte";
4+
function render() {
5+
6+
7+
8+
const dispatch = createEventDispatcher();
9+
dispatch("mount", { input });
10+
;
11+
() => (<>
12+
13+
<input onfocus={undefined} /></>);
14+
return { props: {}, slots: {}, getters: {}, events: {'focus':__sveltets_mapElementEvent('focus'), 'mount': __sveltets_customEvent} }}
15+
16+
export default class Input__SvelteComponent_ extends createSvelte2TsxComponent(__sveltets_partial(__sveltets_with_any_event(render))) {
17+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<script>
2+
import { createEventDispatcher } from "svelte";
3+
4+
const dispatch = createEventDispatcher();
5+
dispatch("mount", { input });
6+
</script>
7+
8+
<input on:focus />

0 commit comments

Comments
 (0)