This commit is contained in:
Tom Gotsman 2024-11-01 09:53:36 -07:00
parent 319e81d5f7
commit 9554af354f
4 changed files with 4 additions and 4 deletions

View File

@ -73,7 +73,7 @@ class DrawerRoot(DrawerComponent):
should_scale_background: Var[bool] should_scale_background: Var[bool]
# Number between 0 and 1 that determines when the drawer should be closed. # Number between 0 and 1 that determines when the drawer should be closed.
close_threshold: Var[float] close_threshold: Var[float]
class DrawerTrigger(DrawerComponent): class DrawerTrigger(DrawerComponent):

View File

@ -171,7 +171,7 @@ class ContextMenuSubContent(RadixThemesComponent):
force_mount: Var[bool] force_mount: Var[bool]
# The distance in pixels from the trigger. Defaults to 0. # The distance in pixels from the trigger. Defaults to 0.
side_offset: Var[Union[float, int]] side_offset: Var[Union[float, int]]
# An offset in pixels from the "start" or "end" alignment options. # An offset in pixels from the "start" or "end" alignment options.
align_offset: Var[Union[float, int]] align_offset: Var[Union[float, int]]

View File

@ -50,7 +50,7 @@ class DialogContent(elements.Div, RadixThemesComponent):
size: Var[Responsive[Literal["1", "2", "3", "4"]]] size: Var[Responsive[Literal["1", "2", "3", "4"]]]
# Fired when the dialog is opened. # Fired when the dialog is opened.
on_open_auto_focus: EventHandler[empty_event] on_open_auto_focus: EventHandler[empty_event]
# Fired when the dialog is closed. # Fired when the dialog is closed.
on_close_auto_focus: EventHandler[empty_event] on_close_auto_focus: EventHandler[empty_event]

View File

@ -86,7 +86,7 @@ class PopoverContent(elements.Div, RadixThemesComponent):
on_focus_outside: EventHandler[empty_event] on_focus_outside: EventHandler[empty_event]
# Fired when the pointer interacts outside the dialog. # Fired when the pointer interacts outside the dialog.
on_interact_outside: EventHandler[empty_event] on_interact_outside: EventHandler[empty_event]
class PopoverClose(RadixThemesTriggerComponent): class PopoverClose(RadixThemesTriggerComponent):