mirror of
https://github.com/allankoechke/slint.git
synced 2026-12-01 09:32:50 +00:00
15 lines
389 B
Plaintext
15 lines
389 B
Plaintext
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
|
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial
|
|
|
|
export global MyGlobal {
|
|
in-out property <string> global-prop: "This is global";
|
|
}
|
|
|
|
export component App {
|
|
in-out property <string> hello: "World";
|
|
callback say-hello(string);
|
|
Rectangle {
|
|
color: red;
|
|
}
|
|
}
|