-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
68 additions
and
15 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
library/CushyStudio/examples/tutorial/widgets/example-widget-numbers.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/** | ||
* | ||
* 🔶 This example is pretty complex and very advanced. | ||
* 🔶 don't' copy what is in this file unless you know what you are doing | ||
* 🔶 and really need this. | ||
* | ||
*/ | ||
|
||
app({ | ||
ui: (form) => ({ | ||
int: form.int({ | ||
min: 10, | ||
default: 12, | ||
max: 20, | ||
}), | ||
|
||
float: form.float({ | ||
default: 1.0, | ||
min: 0.0, | ||
max: 1.0, | ||
step: 0.01, | ||
hideSlider: true, | ||
}), | ||
}), | ||
|
||
run: async (flow, form) => {}, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters