component_container: Add has-component property

... that returns a bool when a component is set up in the
ComponentContainer.
This commit is contained in:
Tobias Hunger 2023-11-27 16:26:55 +01:00 committed by Tobias Hunger
parent f07e05c08b
commit 2ad9e07225
2 changed files with 5 additions and 1 deletions

View file

@ -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;