mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Add switch to control component class inheritance.
This commit is contained in:
@@ -98,6 +98,9 @@ class DOMNode(MessagePump):
|
||||
# True if this node inherits the CSS from the base class.
|
||||
_inherit_css: ClassVar[bool] = True
|
||||
|
||||
# True if this node inherits the component classes from the base class.
|
||||
_inherit_component_classes: ClassVar[bool] = True
|
||||
|
||||
# True to inherit bindings from base class
|
||||
_inherit_bindings: ClassVar[bool] = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user