Get container elements #799
Closed
JS-Aibel
started this conversation in
Ideas / Feature Requests
Replies: 1 comment 1 reply
-
Hi @JS-Aibel! Yes, that would be nice. You can already access the label as follows: container.default_slot.children[0] The |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
According to Clear containers, the remove(element) method can remove individual elements inside a container. Is there a method that can get an element from a container?
In the example code below, a ui.row() element (container) holds two labels. Then the first label get changed.
Would be nice to do
container.get(0).set_text('test')
Beta Was this translation helpful? Give feedback.
All reactions