update event handlers for tooltip
This commit is contained in:
parent
ffcf87d587
commit
deed95682e
@ -85,13 +85,13 @@ class Tooltip(RadixThemesComponent):
|
||||
aria_label: Var[str]
|
||||
|
||||
# Fired when the open state changes.
|
||||
on_open_change: EventHandler[lambda e0: [e0.target.value]]
|
||||
on_open_change: EventHandler[lambda e0: [e0]]
|
||||
|
||||
# Fired when the escape key is pressed.
|
||||
on_escape_key_down: EventHandler[lambda e0: [e0.target.value]]
|
||||
on_escape_key_down: EventHandler[lambda e0: [e0]]
|
||||
|
||||
# Fired when the pointer is down outside the tooltip.
|
||||
on_pointer_down_outside: EventHandler[lambda e0: [e0.target.value]]
|
||||
on_pointer_down_outside: EventHandler[lambda e0: [e0]]
|
||||
|
||||
@classmethod
|
||||
def create(cls, *children, **props) -> Component:
|
||||
|
Loading…
Reference in New Issue
Block a user