Improved Command class management.
This commit is contained in:
@@ -34,6 +34,7 @@ class Dropdown(MultipleInstance):
|
||||
The dropdown provides functionality to manage its state, including opening, closing, and
|
||||
handling user interactions.
|
||||
"""
|
||||
|
||||
def __init__(self, parent, content=None, button=None, _id=None):
|
||||
super().__init__(parent, _id=_id)
|
||||
self.button = Div(button) if not isinstance(button, FT) else button
|
||||
|
||||
Reference in New Issue
Block a user