mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
fix property
This commit is contained in:
@@ -311,6 +311,7 @@ class DOMNode(MessagePump):
|
||||
add_node(node)
|
||||
return nodes
|
||||
|
||||
@property
|
||||
def displayed_children(self) -> list[DOMNode]:
|
||||
return [child for child in self.children if child.display]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user