mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 20:31:27 +00:00
livve-preview: Make the color widget editable
... in a bare-bones fashion.
This commit is contained in:
parent
81be4f2208
commit
0e751b1eea
3 changed files with 34 additions and 6 deletions
|
|
@ -186,6 +186,10 @@ export global Api {
|
|||
|
||||
// # Callbacks
|
||||
|
||||
// ## Custom conversion functions:
|
||||
callback string-is-color(string) -> bool;
|
||||
callback string-to-color(string) -> color;
|
||||
|
||||
// ## Style:
|
||||
callback style-changed();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue