File tree Expand file tree Collapse file tree 3 files changed +25
-20
lines changed
crates/seed-keeper-wit-ui/wit Expand file tree Collapse file tree 3 files changed +25
-20
lines changed Original file line number Diff line number Diff line change
1
+ package seed-keeper : wit-ui @ 0.1.0;
2
+
3
+ interface wurbo-in {
4
+
5
+ use wurbo-types . {listen-details };
6
+
7
+ // Add an event listener to the given element
8
+ addeventlistener : func (details : listen-details );
9
+
10
+ }
Original file line number Diff line number Diff line change
1
+ package seed-keeper : wit-ui @ 0.1.0;
2
+
3
+ interface wurbo-out {
4
+
5
+ use wurbo-types . {context };
6
+
7
+ // renders the initial Web component with the given data
8
+ render : func (ctx : context ) -> result <string , string >;
9
+
10
+ // activate listening
11
+ activate : func ();
12
+ }
13
+
Original file line number Diff line number Diff line change
1
+ package seed-keeper : wit-ui @ 0.1.0;
2
+
1
3
interface wurbo-types {
2
4
3
5
// Details required in order to add an event listener to an element
@@ -45,23 +47,3 @@ interface wurbo-types {
45
47
}
46
48
47
49
}
48
-
49
- interface wurbo-in {
50
-
51
- use wurbo-types . {listen-details };
52
-
53
- // Add an event listener to the given element
54
- addeventlistener : func (details : listen-details );
55
-
56
- }
57
-
58
- interface wurbo-out {
59
-
60
- use wurbo-types . {context };
61
-
62
- // renders the initial Web component with the given data
63
- render : func (ctx : context ) -> result <string , string >;
64
-
65
- // activate listening
66
- activate : func ();
67
- }
You can’t perform that action at this time.
0 commit comments