We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb73935 commit 226213eCopy full SHA for 226213e
2 files changed
ui/api.slint
@@ -24,7 +24,7 @@ export global Api {
24
in-out property <bool> is-yellow-bin: true;
25
in-out property <int> days-to-bin: 0;
26
27
- in-out property <[WeatherDaily]> weather_daily;
+ in-out property <[WeatherDaily]> weather-daily;
28
29
in-out property <Coordinates> coordinates: {
30
latitude: 0,
ui/pages/home_page.slint
@@ -25,6 +25,12 @@ export component HomePage {
}
+ VerticalLayout {
+ for day[index] in Api.weather-daily: Text {
+ text: day.temperature-max;
31
+ }
32
33
+
34
HorizontalLayout {
35
36
Button {
0 commit comments