mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
component_container: Add has-component
property
... that returns a bool when a component is set up in the ComponentContainer.
This commit is contained in:
parent
f07e05c08b
commit
2ad9e07225
2 changed files with 5 additions and 1 deletions
|
@ -59,6 +59,7 @@ export { ClippedImage as Image }
|
|||
|
||||
export component ComponentContainer inherits Empty {
|
||||
in property <component-factory> component-factory;
|
||||
out property <bool> has-component;
|
||||
|
||||
in-out property <length> width;
|
||||
in-out property <length> height;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue