Pascal Precht
|
bd383e8746
|
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
|
2021-07-08 11:42:08 +02:00 |
|