Add Platform.os as well as a rudimentary test

This commit is contained in:
Simon Hausmann 2025-04-19 10:09:04 +02:00 committed by Simon Hausmann
parent 904bc56e62
commit f983cf0b19
16 changed files with 172 additions and 27 deletions

View file

@ -518,6 +518,11 @@ export global TextInputInterface {
in property <bool> text-input-focused;
}
export global Platform {
out property <string> os;
out property <string> style-name;
}
export component NativeButton {
in property <string> text;
in property <image> icon;