File tree Expand file tree Collapse file tree 1 file changed +53
-11
lines changed Expand file tree Collapse file tree 1 file changed +53
-11
lines changed Original file line number Diff line number Diff line change @@ -51,24 +51,24 @@ Background runnables are scripts that are executed in the background. They are n
51
51
Evals are used to [ connect data sources] ( ./2_outputs.md#connecting-inputs ) to other components or parameters.
52
52
53
53
<video
54
- className = " border-2 rounded-xl object-cover w-full h-full dark:border-gray-800"
55
- autoPlay
56
- loop
57
- controls
58
- src = " /videos/app-connections.mp4"
54
+ className = " border-2 rounded-xl object-cover w-full h-full dark:border-gray-800"
55
+ autoPlay
56
+ loop
57
+ controls
58
+ src = " /videos/app-connections.mp4"
59
59
/>
60
- <br />
60
+ <br />
61
61
62
62
Windmill parses your eval and frontend scripts using the swc parser compiled to wasm to extract any references to outputs.
63
- It allows Windmill to suggest dependencies for frontend scripts.
63
+ It allows Windmill to suggest dependencies for frontend scripts.
64
64
65
65
<video
66
- className = " border-2 rounded-xl object-cover w-full h-full dark:border-gray-800"
67
- controls
68
- src = " /videos/eval_1.mp4"
66
+ className = " border-2 rounded-xl object-cover w-full h-full dark:border-gray-800"
67
+ controls
68
+ src = " /videos/eval_1.mp4"
69
69
/>
70
70
71
- <br />
71
+ <br />
72
72
73
73
Evals are only evaluated on changes to the outputs that have been identified.
74
74
@@ -185,6 +185,48 @@ The index of the tab to set.
185
185
setTab (' a' , ' 1' );
186
186
```
187
187
188
+ ### openModal
189
+
190
+ Use the ` openModal ` function to open a modal.
191
+
192
+ #### Syntax
193
+
194
+ ``` js
195
+ openModal (id: string)
196
+ ```
197
+
198
+ #### Parameters
199
+
200
+ ` id ` string
201
+ The id of the modal component to open.
202
+
203
+ #### Example
204
+
205
+ ``` js
206
+ openModal (' a' );
207
+ ```
208
+
209
+ ### closeModal
210
+
211
+ Use the ` closeModal ` function to close a modal.
212
+
213
+ #### Syntax
214
+
215
+ ``` js
216
+ closeModal (id: string)
217
+ ```
218
+
219
+ #### Parameters
220
+
221
+ ` id ` string
222
+ The id of the modal component to close.
223
+
224
+ #### Example
225
+
226
+ ``` js
227
+ closeModal (' a' );
228
+ ```
229
+
188
230
### recompute
189
231
190
232
Use the ` recompute ` function to recompute a component.
You can’t perform that action at this time.
0 commit comments