mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 22:31:14 +00:00
node: api review adjustements part I (#3766)
* Update api/node/src/types/brush.rs Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update tests/cases/callbacks/handler_with_arg.slint Co-authored-by: Olivier Goffart <olivier.goffart@slint.dev> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Olivier Goffart <olivier.goffart@slint.dev>
This commit is contained in:
parent
081e7fe456
commit
0045787e1c
18 changed files with 340 additions and 142 deletions
|
@ -12,12 +12,12 @@ window.ink_levels = [
|
|||
{ color: "#ffff00", level: 0.60 },
|
||||
{ color: "#000000", level: 0.90 }];
|
||||
|
||||
window.fax_number_erase.setHandler(function () {
|
||||
window.fax_number_erase = function () {
|
||||
window.fax_number = window.fax_number.substring(0, window.fax_number.length - 1);
|
||||
})
|
||||
window.fax_send.setHandler(function () {
|
||||
};
|
||||
window.fax_send = function () {
|
||||
console.log("Send fax to " + window.fax_number);
|
||||
window.fax_number = "";
|
||||
})
|
||||
};
|
||||
|
||||
window.run();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue