Pascal Precht
|
12b35ba88c
|
feat(StatusModal): expose loaded content
As discussed in #237, this is needed for consumers to access content
children from outside `content`.
Usage:
```qml
StatusModal {
id: modal
content: StatusBaseText {
text: "Foo"
}
rightButtons: [
StatusButton {
text: "Change text"
onClicked: {
modal.contentComponent.text = "Bar"
}
}
]
}
```
Fixes #237
|
2022-09-21 18:20:03 +02:00 |