mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-08 03:20:34 +00:00
14 lines
358 B
Text
14 lines
358 B
Text
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
|
|
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
|
|
|
|
struct Foo {
|
|
field: string
|
|
}
|
|
|
|
export component Testcase {
|
|
property <[Foo]> model;
|
|
for item in model: Text {
|
|
text <=> item.field;
|
|
// ^error{Two-way bindings to model data is not supported yet}
|
|
}
|
|
}
|