mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 12:24:16 +00:00
Add real-time clock to home automation demo (#8390)
This commit is contained in:
parent
6ba3b8586e
commit
0051c95b1b
4 changed files with 46 additions and 4 deletions
|
|
@ -27,13 +27,13 @@ export global Api {
|
|||
out property <Orientation> orientation <=> AppState.orientation;
|
||||
in-out property <bool> graphics-accelerator-available <=> AppState.graphics-accelerator-available;
|
||||
|
||||
in property <Date> current-date: {
|
||||
in-out property <Date> current-date: {
|
||||
year: 2025,
|
||||
month: 3,
|
||||
day: 18,
|
||||
};
|
||||
|
||||
in property <Time> current-time: {
|
||||
in-out property <Time> current-time: {
|
||||
hour: 15,
|
||||
minute: 12,
|
||||
second: 33,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue