Skip to content

Commit b146e42

Browse files
committed
tests for U-nodes
1 parent 0e6fcd3 commit b146e42

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<script lang="ts">
2+
import type { Action } from 'svelte/action';
3+
4+
const myaction: Action = (node, data) => {
5+
// ...
6+
};
7+
</script>
8+
9+
<div use:myaction={data}>...</div>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<script lang="ts">
2+
import type { Action } from 'svelte/action';
3+
4+
const myaction: Action = (node, data) => {
5+
// ...
6+
};
7+
</script>
8+
9+
<div use:myaction={data}>...</div>

0 commit comments

Comments
 (0)