reflex 0.7.0a1__py3-none-any.whl → 0.7.0a3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of reflex might be problematic. Click here for more details.
- reflex/.templates/jinja/web/pages/utils.js.jinja2 +1 -1
- reflex/app.py +6 -8
- reflex/components/base/app_wrap.pyi +16 -16
- reflex/components/base/body.pyi +16 -16
- reflex/components/base/document.pyi +76 -76
- reflex/components/base/error_boundary.pyi +17 -21
- reflex/components/base/fragment.pyi +16 -16
- reflex/components/base/head.pyi +31 -31
- reflex/components/base/link.pyi +31 -31
- reflex/components/base/meta.pyi +61 -61
- reflex/components/base/script.pyi +19 -19
- reflex/components/base/strict_mode.pyi +16 -16
- reflex/components/core/banner.py +95 -19
- reflex/components/core/banner.pyi +91 -91
- reflex/components/core/client_side_routing.pyi +31 -31
- reflex/components/core/clipboard.pyi +17 -20
- reflex/components/core/debounce.pyi +17 -17
- reflex/components/core/foreach.py +5 -0
- reflex/components/core/html.pyi +16 -16
- reflex/components/core/sticky.pyi +61 -61
- reflex/components/core/upload.pyi +80 -88
- reflex/components/datadisplay/code.pyi +31 -31
- reflex/components/datadisplay/dataeditor.pyi +40 -54
- reflex/components/datadisplay/shiki_code_block.pyi +46 -46
- reflex/components/el/element.pyi +16 -16
- reflex/components/el/elements/base.pyi +16 -16
- reflex/components/el/elements/forms.pyi +222 -256
- reflex/components/el/elements/inline.pyi +421 -421
- reflex/components/el/elements/media.pyi +376 -376
- reflex/components/el/elements/metadata.pyi +91 -91
- reflex/components/el/elements/other.pyi +106 -106
- reflex/components/el/elements/scripts.pyi +46 -46
- reflex/components/el/elements/sectioning.pyi +226 -226
- reflex/components/el/elements/tables.pyi +151 -151
- reflex/components/el/elements/typography.pyi +226 -226
- reflex/components/gridjs/datatable.pyi +31 -31
- reflex/components/lucide/icon.pyi +46 -46
- reflex/components/markdown/markdown.pyi +16 -16
- reflex/components/moment/moment.pyi +17 -19
- reflex/components/next/base.pyi +16 -16
- reflex/components/next/image.pyi +18 -18
- reflex/components/next/link.pyi +16 -16
- reflex/components/next/video.pyi +16 -16
- reflex/components/plotly/plotly.pyi +34 -44
- reflex/components/radix/primitives/accordion.pyi +107 -107
- reflex/components/radix/primitives/base.pyi +31 -31
- reflex/components/radix/primitives/drawer.pyi +175 -183
- reflex/components/radix/primitives/form.pyi +160 -172
- reflex/components/radix/primitives/progress.pyi +76 -76
- reflex/components/radix/primitives/slider.pyi +78 -82
- reflex/components/radix/themes/base.pyi +121 -121
- reflex/components/radix/themes/color_mode.pyi +47 -49
- reflex/components/radix/themes/components/alert_dialog.pyi +110 -112
- reflex/components/radix/themes/components/aspect_ratio.pyi +16 -16
- reflex/components/radix/themes/components/avatar.pyi +16 -16
- reflex/components/radix/themes/components/badge.pyi +16 -16
- reflex/components/radix/themes/components/button.pyi +16 -16
- reflex/components/radix/themes/components/callout.pyi +76 -76
- reflex/components/radix/themes/components/card.pyi +16 -16
- reflex/components/radix/themes/components/checkbox.pyi +49 -55
- reflex/components/radix/themes/components/checkbox_cards.pyi +31 -31
- reflex/components/radix/themes/components/checkbox_group.pyi +31 -31
- reflex/components/radix/themes/components/context_menu.pyi +149 -155
- reflex/components/radix/themes/components/data_list.pyi +61 -61
- reflex/components/radix/themes/components/dialog.pyi +113 -117
- reflex/components/radix/themes/components/dropdown_menu.pyi +133 -137
- reflex/components/radix/themes/components/hover_card.pyi +63 -67
- reflex/components/radix/themes/components/icon_button.pyi +16 -16
- reflex/components/radix/themes/components/inset.pyi +16 -16
- reflex/components/radix/themes/components/popover.pyi +68 -70
- reflex/components/radix/themes/components/progress.pyi +16 -16
- reflex/components/radix/themes/components/radio.pyi +16 -16
- reflex/components/radix/themes/components/radio_cards.pyi +32 -34
- reflex/components/radix/themes/components/radio_group.pyi +62 -64
- reflex/components/radix/themes/components/scroll_area.pyi +16 -16
- reflex/components/radix/themes/components/segmented_control.pyi +32 -35
- reflex/components/radix/themes/components/select.py +1 -0
- reflex/components/radix/themes/components/select.pyi +145 -157
- reflex/components/radix/themes/components/separator.pyi +16 -16
- reflex/components/radix/themes/components/skeleton.py +3 -0
- reflex/components/radix/themes/components/skeleton.pyi +16 -16
- reflex/components/radix/themes/components/slider.pyi +22 -28
- reflex/components/radix/themes/components/spinner.pyi +16 -16
- reflex/components/radix/themes/components/switch.pyi +17 -19
- reflex/components/radix/themes/components/table.pyi +106 -106
- reflex/components/radix/themes/components/tabs.pyi +78 -82
- reflex/components/radix/themes/components/text_area.pyi +19 -33
- reflex/components/radix/themes/components/text_field.pyi +52 -80
- reflex/components/radix/themes/components/tooltip.py +3 -0
- reflex/components/radix/themes/components/tooltip.pyi +19 -21
- reflex/components/radix/themes/layout/base.pyi +16 -16
- reflex/components/radix/themes/layout/box.pyi +16 -16
- reflex/components/radix/themes/layout/center.pyi +16 -16
- reflex/components/radix/themes/layout/container.pyi +16 -16
- reflex/components/radix/themes/layout/flex.pyi +16 -16
- reflex/components/radix/themes/layout/grid.pyi +16 -16
- reflex/components/radix/themes/layout/list.pyi +76 -76
- reflex/components/radix/themes/layout/section.pyi +16 -16
- reflex/components/radix/themes/layout/spacer.pyi +16 -16
- reflex/components/radix/themes/layout/stack.pyi +46 -46
- reflex/components/radix/themes/typography/blockquote.pyi +16 -16
- reflex/components/radix/themes/typography/code.pyi +16 -16
- reflex/components/radix/themes/typography/heading.pyi +16 -16
- reflex/components/radix/themes/typography/link.pyi +16 -16
- reflex/components/radix/themes/typography/text.pyi +106 -106
- reflex/components/react_player/audio.pyi +33 -39
- reflex/components/react_player/react_player.pyi +32 -38
- reflex/components/react_player/video.pyi +33 -39
- reflex/components/recharts/cartesian.pyi +282 -282
- reflex/components/recharts/charts.pyi +164 -164
- reflex/components/recharts/general.pyi +92 -92
- reflex/components/recharts/polar.pyi +55 -55
- reflex/components/recharts/recharts.pyi +31 -31
- reflex/components/sonner/toast.pyi +16 -16
- reflex/components/suneditor/editor.pyi +24 -38
- reflex/custom_components/custom_components.py +10 -4
- reflex/event.py +89 -51
- reflex/experimental/layout.pyi +78 -82
- reflex/page.py +2 -2
- reflex/utils/exceptions.py +13 -0
- reflex/utils/format.py +1 -1
- reflex/utils/prerequisites.py +3 -3
- reflex/utils/pyi_generator.py +9 -8
- reflex/vars/base.py +10 -4
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a3.dist-info}/METADATA +1 -1
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a3.dist-info}/RECORD +129 -129
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a3.dist-info}/LICENSE +0 -0
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a3.dist-info}/WHEEL +0 -0
- {reflex-0.7.0a1.dist-info → reflex-0.7.0a3.dist-info}/entry_points.txt +0 -0
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
from typing import Any, Dict, Optional, Union, overload
|
|
7
7
|
|
|
8
8
|
from reflex.components.el.element import Element
|
|
9
|
-
from reflex.event import
|
|
9
|
+
from reflex.event import EventType
|
|
10
10
|
from reflex.style import Style
|
|
11
11
|
from reflex.vars.base import Var
|
|
12
12
|
|
|
@@ -50,21 +50,21 @@ class Base(BaseHTML):
|
|
|
50
50
|
class_name: Optional[Any] = None,
|
|
51
51
|
autofocus: Optional[bool] = None,
|
|
52
52
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
53
|
-
on_blur: Optional[EventType[
|
|
54
|
-
on_click: Optional[EventType[
|
|
55
|
-
on_context_menu: Optional[EventType[
|
|
56
|
-
on_double_click: Optional[EventType[
|
|
57
|
-
on_focus: Optional[EventType[
|
|
58
|
-
on_mount: Optional[EventType[
|
|
59
|
-
on_mouse_down: Optional[EventType[
|
|
60
|
-
on_mouse_enter: Optional[EventType[
|
|
61
|
-
on_mouse_leave: Optional[EventType[
|
|
62
|
-
on_mouse_move: Optional[EventType[
|
|
63
|
-
on_mouse_out: Optional[EventType[
|
|
64
|
-
on_mouse_over: Optional[EventType[
|
|
65
|
-
on_mouse_up: Optional[EventType[
|
|
66
|
-
on_scroll: Optional[EventType[
|
|
67
|
-
on_unmount: Optional[EventType[
|
|
53
|
+
on_blur: Optional[EventType[()]] = None,
|
|
54
|
+
on_click: Optional[EventType[()]] = None,
|
|
55
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
56
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
57
|
+
on_focus: Optional[EventType[()]] = None,
|
|
58
|
+
on_mount: Optional[EventType[()]] = None,
|
|
59
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
60
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
61
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
62
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
63
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
64
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
65
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
66
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
67
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
68
68
|
**props,
|
|
69
69
|
) -> "Base":
|
|
70
70
|
"""Create the component.
|
|
@@ -136,21 +136,21 @@ class Head(BaseHTML):
|
|
|
136
136
|
class_name: Optional[Any] = None,
|
|
137
137
|
autofocus: Optional[bool] = None,
|
|
138
138
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
139
|
-
on_blur: Optional[EventType[
|
|
140
|
-
on_click: Optional[EventType[
|
|
141
|
-
on_context_menu: Optional[EventType[
|
|
142
|
-
on_double_click: Optional[EventType[
|
|
143
|
-
on_focus: Optional[EventType[
|
|
144
|
-
on_mount: Optional[EventType[
|
|
145
|
-
on_mouse_down: Optional[EventType[
|
|
146
|
-
on_mouse_enter: Optional[EventType[
|
|
147
|
-
on_mouse_leave: Optional[EventType[
|
|
148
|
-
on_mouse_move: Optional[EventType[
|
|
149
|
-
on_mouse_out: Optional[EventType[
|
|
150
|
-
on_mouse_over: Optional[EventType[
|
|
151
|
-
on_mouse_up: Optional[EventType[
|
|
152
|
-
on_scroll: Optional[EventType[
|
|
153
|
-
on_unmount: Optional[EventType[
|
|
139
|
+
on_blur: Optional[EventType[()]] = None,
|
|
140
|
+
on_click: Optional[EventType[()]] = None,
|
|
141
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
142
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
143
|
+
on_focus: Optional[EventType[()]] = None,
|
|
144
|
+
on_mount: Optional[EventType[()]] = None,
|
|
145
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
146
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
147
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
148
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
149
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
150
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
151
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
152
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
153
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
154
154
|
**props,
|
|
155
155
|
) -> "Head":
|
|
156
156
|
"""Create the component.
|
|
@@ -235,21 +235,21 @@ class Link(BaseHTML):
|
|
|
235
235
|
class_name: Optional[Any] = None,
|
|
236
236
|
autofocus: Optional[bool] = None,
|
|
237
237
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
238
|
-
on_blur: Optional[EventType[
|
|
239
|
-
on_click: Optional[EventType[
|
|
240
|
-
on_context_menu: Optional[EventType[
|
|
241
|
-
on_double_click: Optional[EventType[
|
|
242
|
-
on_focus: Optional[EventType[
|
|
243
|
-
on_mount: Optional[EventType[
|
|
244
|
-
on_mouse_down: Optional[EventType[
|
|
245
|
-
on_mouse_enter: Optional[EventType[
|
|
246
|
-
on_mouse_leave: Optional[EventType[
|
|
247
|
-
on_mouse_move: Optional[EventType[
|
|
248
|
-
on_mouse_out: Optional[EventType[
|
|
249
|
-
on_mouse_over: Optional[EventType[
|
|
250
|
-
on_mouse_up: Optional[EventType[
|
|
251
|
-
on_scroll: Optional[EventType[
|
|
252
|
-
on_unmount: Optional[EventType[
|
|
238
|
+
on_blur: Optional[EventType[()]] = None,
|
|
239
|
+
on_click: Optional[EventType[()]] = None,
|
|
240
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
241
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
242
|
+
on_focus: Optional[EventType[()]] = None,
|
|
243
|
+
on_mount: Optional[EventType[()]] = None,
|
|
244
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
245
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
246
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
247
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
248
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
249
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
250
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
251
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
252
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
253
253
|
**props,
|
|
254
254
|
) -> "Link":
|
|
255
255
|
"""Create the component.
|
|
@@ -334,21 +334,21 @@ class Meta(BaseHTML):
|
|
|
334
334
|
class_name: Optional[Any] = None,
|
|
335
335
|
autofocus: Optional[bool] = None,
|
|
336
336
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
337
|
-
on_blur: Optional[EventType[
|
|
338
|
-
on_click: Optional[EventType[
|
|
339
|
-
on_context_menu: Optional[EventType[
|
|
340
|
-
on_double_click: Optional[EventType[
|
|
341
|
-
on_focus: Optional[EventType[
|
|
342
|
-
on_mount: Optional[EventType[
|
|
343
|
-
on_mouse_down: Optional[EventType[
|
|
344
|
-
on_mouse_enter: Optional[EventType[
|
|
345
|
-
on_mouse_leave: Optional[EventType[
|
|
346
|
-
on_mouse_move: Optional[EventType[
|
|
347
|
-
on_mouse_out: Optional[EventType[
|
|
348
|
-
on_mouse_over: Optional[EventType[
|
|
349
|
-
on_mouse_up: Optional[EventType[
|
|
350
|
-
on_scroll: Optional[EventType[
|
|
351
|
-
on_unmount: Optional[EventType[
|
|
337
|
+
on_blur: Optional[EventType[()]] = None,
|
|
338
|
+
on_click: Optional[EventType[()]] = None,
|
|
339
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
340
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
341
|
+
on_focus: Optional[EventType[()]] = None,
|
|
342
|
+
on_mount: Optional[EventType[()]] = None,
|
|
343
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
344
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
345
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
346
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
347
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
348
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
349
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
350
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
351
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
352
352
|
**props,
|
|
353
353
|
) -> "Meta":
|
|
354
354
|
"""Create the component.
|
|
@@ -400,21 +400,21 @@ class Title(Element):
|
|
|
400
400
|
class_name: Optional[Any] = None,
|
|
401
401
|
autofocus: Optional[bool] = None,
|
|
402
402
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
403
|
-
on_blur: Optional[EventType[
|
|
404
|
-
on_click: Optional[EventType[
|
|
405
|
-
on_context_menu: Optional[EventType[
|
|
406
|
-
on_double_click: Optional[EventType[
|
|
407
|
-
on_focus: Optional[EventType[
|
|
408
|
-
on_mount: Optional[EventType[
|
|
409
|
-
on_mouse_down: Optional[EventType[
|
|
410
|
-
on_mouse_enter: Optional[EventType[
|
|
411
|
-
on_mouse_leave: Optional[EventType[
|
|
412
|
-
on_mouse_move: Optional[EventType[
|
|
413
|
-
on_mouse_out: Optional[EventType[
|
|
414
|
-
on_mouse_over: Optional[EventType[
|
|
415
|
-
on_mouse_up: Optional[EventType[
|
|
416
|
-
on_scroll: Optional[EventType[
|
|
417
|
-
on_unmount: Optional[EventType[
|
|
403
|
+
on_blur: Optional[EventType[()]] = None,
|
|
404
|
+
on_click: Optional[EventType[()]] = None,
|
|
405
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
406
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
407
|
+
on_focus: Optional[EventType[()]] = None,
|
|
408
|
+
on_mount: Optional[EventType[()]] = None,
|
|
409
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
410
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
411
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
412
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
413
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
414
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
415
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
416
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
417
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
418
418
|
**props,
|
|
419
419
|
) -> "Title":
|
|
420
420
|
"""Create the component.
|
|
@@ -447,21 +447,21 @@ class StyleEl(Element):
|
|
|
447
447
|
class_name: Optional[Any] = None,
|
|
448
448
|
autofocus: Optional[bool] = None,
|
|
449
449
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
450
|
-
on_blur: Optional[EventType[
|
|
451
|
-
on_click: Optional[EventType[
|
|
452
|
-
on_context_menu: Optional[EventType[
|
|
453
|
-
on_double_click: Optional[EventType[
|
|
454
|
-
on_focus: Optional[EventType[
|
|
455
|
-
on_mount: Optional[EventType[
|
|
456
|
-
on_mouse_down: Optional[EventType[
|
|
457
|
-
on_mouse_enter: Optional[EventType[
|
|
458
|
-
on_mouse_leave: Optional[EventType[
|
|
459
|
-
on_mouse_move: Optional[EventType[
|
|
460
|
-
on_mouse_out: Optional[EventType[
|
|
461
|
-
on_mouse_over: Optional[EventType[
|
|
462
|
-
on_mouse_up: Optional[EventType[
|
|
463
|
-
on_scroll: Optional[EventType[
|
|
464
|
-
on_unmount: Optional[EventType[
|
|
450
|
+
on_blur: Optional[EventType[()]] = None,
|
|
451
|
+
on_click: Optional[EventType[()]] = None,
|
|
452
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
453
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
454
|
+
on_focus: Optional[EventType[()]] = None,
|
|
455
|
+
on_mount: Optional[EventType[()]] = None,
|
|
456
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
457
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
458
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
459
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
460
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
461
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
462
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
463
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
464
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
465
465
|
**props,
|
|
466
466
|
) -> "StyleEl":
|
|
467
467
|
"""Create the component.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
# ------------------------------------------------------
|
|
6
6
|
from typing import Any, Dict, Optional, Union, overload
|
|
7
7
|
|
|
8
|
-
from reflex.event import
|
|
8
|
+
from reflex.event import EventType
|
|
9
9
|
from reflex.style import Style
|
|
10
10
|
from reflex.vars.base import Var
|
|
11
11
|
|
|
@@ -48,21 +48,21 @@ class Details(BaseHTML):
|
|
|
48
48
|
class_name: Optional[Any] = None,
|
|
49
49
|
autofocus: Optional[bool] = None,
|
|
50
50
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
51
|
-
on_blur: Optional[EventType[
|
|
52
|
-
on_click: Optional[EventType[
|
|
53
|
-
on_context_menu: Optional[EventType[
|
|
54
|
-
on_double_click: Optional[EventType[
|
|
55
|
-
on_focus: Optional[EventType[
|
|
56
|
-
on_mount: Optional[EventType[
|
|
57
|
-
on_mouse_down: Optional[EventType[
|
|
58
|
-
on_mouse_enter: Optional[EventType[
|
|
59
|
-
on_mouse_leave: Optional[EventType[
|
|
60
|
-
on_mouse_move: Optional[EventType[
|
|
61
|
-
on_mouse_out: Optional[EventType[
|
|
62
|
-
on_mouse_over: Optional[EventType[
|
|
63
|
-
on_mouse_up: Optional[EventType[
|
|
64
|
-
on_scroll: Optional[EventType[
|
|
65
|
-
on_unmount: Optional[EventType[
|
|
51
|
+
on_blur: Optional[EventType[()]] = None,
|
|
52
|
+
on_click: Optional[EventType[()]] = None,
|
|
53
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
54
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
55
|
+
on_focus: Optional[EventType[()]] = None,
|
|
56
|
+
on_mount: Optional[EventType[()]] = None,
|
|
57
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
58
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
59
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
60
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
61
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
62
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
63
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
64
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
65
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
66
66
|
**props,
|
|
67
67
|
) -> "Details":
|
|
68
68
|
"""Create the component.
|
|
@@ -136,21 +136,21 @@ class Dialog(BaseHTML):
|
|
|
136
136
|
class_name: Optional[Any] = None,
|
|
137
137
|
autofocus: Optional[bool] = None,
|
|
138
138
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
139
|
-
on_blur: Optional[EventType[
|
|
140
|
-
on_click: Optional[EventType[
|
|
141
|
-
on_context_menu: Optional[EventType[
|
|
142
|
-
on_double_click: Optional[EventType[
|
|
143
|
-
on_focus: Optional[EventType[
|
|
144
|
-
on_mount: Optional[EventType[
|
|
145
|
-
on_mouse_down: Optional[EventType[
|
|
146
|
-
on_mouse_enter: Optional[EventType[
|
|
147
|
-
on_mouse_leave: Optional[EventType[
|
|
148
|
-
on_mouse_move: Optional[EventType[
|
|
149
|
-
on_mouse_out: Optional[EventType[
|
|
150
|
-
on_mouse_over: Optional[EventType[
|
|
151
|
-
on_mouse_up: Optional[EventType[
|
|
152
|
-
on_scroll: Optional[EventType[
|
|
153
|
-
on_unmount: Optional[EventType[
|
|
139
|
+
on_blur: Optional[EventType[()]] = None,
|
|
140
|
+
on_click: Optional[EventType[()]] = None,
|
|
141
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
142
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
143
|
+
on_focus: Optional[EventType[()]] = None,
|
|
144
|
+
on_mount: Optional[EventType[()]] = None,
|
|
145
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
146
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
147
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
148
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
149
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
150
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
151
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
152
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
153
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
154
154
|
**props,
|
|
155
155
|
) -> "Dialog":
|
|
156
156
|
"""Create the component.
|
|
@@ -223,21 +223,21 @@ class Summary(BaseHTML):
|
|
|
223
223
|
class_name: Optional[Any] = None,
|
|
224
224
|
autofocus: Optional[bool] = None,
|
|
225
225
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
226
|
-
on_blur: Optional[EventType[
|
|
227
|
-
on_click: Optional[EventType[
|
|
228
|
-
on_context_menu: Optional[EventType[
|
|
229
|
-
on_double_click: Optional[EventType[
|
|
230
|
-
on_focus: Optional[EventType[
|
|
231
|
-
on_mount: Optional[EventType[
|
|
232
|
-
on_mouse_down: Optional[EventType[
|
|
233
|
-
on_mouse_enter: Optional[EventType[
|
|
234
|
-
on_mouse_leave: Optional[EventType[
|
|
235
|
-
on_mouse_move: Optional[EventType[
|
|
236
|
-
on_mouse_out: Optional[EventType[
|
|
237
|
-
on_mouse_over: Optional[EventType[
|
|
238
|
-
on_mouse_up: Optional[EventType[
|
|
239
|
-
on_scroll: Optional[EventType[
|
|
240
|
-
on_unmount: Optional[EventType[
|
|
226
|
+
on_blur: Optional[EventType[()]] = None,
|
|
227
|
+
on_click: Optional[EventType[()]] = None,
|
|
228
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
229
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
230
|
+
on_focus: Optional[EventType[()]] = None,
|
|
231
|
+
on_mount: Optional[EventType[()]] = None,
|
|
232
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
233
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
234
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
235
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
236
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
237
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
238
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
239
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
240
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
241
241
|
**props,
|
|
242
242
|
) -> "Summary":
|
|
243
243
|
"""Create the component.
|
|
@@ -309,21 +309,21 @@ class Slot(BaseHTML):
|
|
|
309
309
|
class_name: Optional[Any] = None,
|
|
310
310
|
autofocus: Optional[bool] = None,
|
|
311
311
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
312
|
-
on_blur: Optional[EventType[
|
|
313
|
-
on_click: Optional[EventType[
|
|
314
|
-
on_context_menu: Optional[EventType[
|
|
315
|
-
on_double_click: Optional[EventType[
|
|
316
|
-
on_focus: Optional[EventType[
|
|
317
|
-
on_mount: Optional[EventType[
|
|
318
|
-
on_mouse_down: Optional[EventType[
|
|
319
|
-
on_mouse_enter: Optional[EventType[
|
|
320
|
-
on_mouse_leave: Optional[EventType[
|
|
321
|
-
on_mouse_move: Optional[EventType[
|
|
322
|
-
on_mouse_out: Optional[EventType[
|
|
323
|
-
on_mouse_over: Optional[EventType[
|
|
324
|
-
on_mouse_up: Optional[EventType[
|
|
325
|
-
on_scroll: Optional[EventType[
|
|
326
|
-
on_unmount: Optional[EventType[
|
|
312
|
+
on_blur: Optional[EventType[()]] = None,
|
|
313
|
+
on_click: Optional[EventType[()]] = None,
|
|
314
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
315
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
316
|
+
on_focus: Optional[EventType[()]] = None,
|
|
317
|
+
on_mount: Optional[EventType[()]] = None,
|
|
318
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
319
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
320
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
321
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
322
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
323
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
324
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
325
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
326
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
327
327
|
**props,
|
|
328
328
|
) -> "Slot":
|
|
329
329
|
"""Create the component.
|
|
@@ -395,21 +395,21 @@ class Template(BaseHTML):
|
|
|
395
395
|
class_name: Optional[Any] = None,
|
|
396
396
|
autofocus: Optional[bool] = None,
|
|
397
397
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
398
|
-
on_blur: Optional[EventType[
|
|
399
|
-
on_click: Optional[EventType[
|
|
400
|
-
on_context_menu: Optional[EventType[
|
|
401
|
-
on_double_click: Optional[EventType[
|
|
402
|
-
on_focus: Optional[EventType[
|
|
403
|
-
on_mount: Optional[EventType[
|
|
404
|
-
on_mouse_down: Optional[EventType[
|
|
405
|
-
on_mouse_enter: Optional[EventType[
|
|
406
|
-
on_mouse_leave: Optional[EventType[
|
|
407
|
-
on_mouse_move: Optional[EventType[
|
|
408
|
-
on_mouse_out: Optional[EventType[
|
|
409
|
-
on_mouse_over: Optional[EventType[
|
|
410
|
-
on_mouse_up: Optional[EventType[
|
|
411
|
-
on_scroll: Optional[EventType[
|
|
412
|
-
on_unmount: Optional[EventType[
|
|
398
|
+
on_blur: Optional[EventType[()]] = None,
|
|
399
|
+
on_click: Optional[EventType[()]] = None,
|
|
400
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
401
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
402
|
+
on_focus: Optional[EventType[()]] = None,
|
|
403
|
+
on_mount: Optional[EventType[()]] = None,
|
|
404
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
405
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
406
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
407
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
408
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
409
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
410
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
411
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
412
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
413
413
|
**props,
|
|
414
414
|
) -> "Template":
|
|
415
415
|
"""Create the component.
|
|
@@ -481,21 +481,21 @@ class Math(BaseHTML):
|
|
|
481
481
|
class_name: Optional[Any] = None,
|
|
482
482
|
autofocus: Optional[bool] = None,
|
|
483
483
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
484
|
-
on_blur: Optional[EventType[
|
|
485
|
-
on_click: Optional[EventType[
|
|
486
|
-
on_context_menu: Optional[EventType[
|
|
487
|
-
on_double_click: Optional[EventType[
|
|
488
|
-
on_focus: Optional[EventType[
|
|
489
|
-
on_mount: Optional[EventType[
|
|
490
|
-
on_mouse_down: Optional[EventType[
|
|
491
|
-
on_mouse_enter: Optional[EventType[
|
|
492
|
-
on_mouse_leave: Optional[EventType[
|
|
493
|
-
on_mouse_move: Optional[EventType[
|
|
494
|
-
on_mouse_out: Optional[EventType[
|
|
495
|
-
on_mouse_over: Optional[EventType[
|
|
496
|
-
on_mouse_up: Optional[EventType[
|
|
497
|
-
on_scroll: Optional[EventType[
|
|
498
|
-
on_unmount: Optional[EventType[
|
|
484
|
+
on_blur: Optional[EventType[()]] = None,
|
|
485
|
+
on_click: Optional[EventType[()]] = None,
|
|
486
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
487
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
488
|
+
on_focus: Optional[EventType[()]] = None,
|
|
489
|
+
on_mount: Optional[EventType[()]] = None,
|
|
490
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
491
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
492
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
493
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
494
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
495
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
496
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
497
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
498
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
499
499
|
**props,
|
|
500
500
|
) -> "Math":
|
|
501
501
|
"""Create the component.
|
|
@@ -568,21 +568,21 @@ class Html(BaseHTML):
|
|
|
568
568
|
class_name: Optional[Any] = None,
|
|
569
569
|
autofocus: Optional[bool] = None,
|
|
570
570
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
571
|
-
on_blur: Optional[EventType[
|
|
572
|
-
on_click: Optional[EventType[
|
|
573
|
-
on_context_menu: Optional[EventType[
|
|
574
|
-
on_double_click: Optional[EventType[
|
|
575
|
-
on_focus: Optional[EventType[
|
|
576
|
-
on_mount: Optional[EventType[
|
|
577
|
-
on_mouse_down: Optional[EventType[
|
|
578
|
-
on_mouse_enter: Optional[EventType[
|
|
579
|
-
on_mouse_leave: Optional[EventType[
|
|
580
|
-
on_mouse_move: Optional[EventType[
|
|
581
|
-
on_mouse_out: Optional[EventType[
|
|
582
|
-
on_mouse_over: Optional[EventType[
|
|
583
|
-
on_mouse_up: Optional[EventType[
|
|
584
|
-
on_scroll: Optional[EventType[
|
|
585
|
-
on_unmount: Optional[EventType[
|
|
571
|
+
on_blur: Optional[EventType[()]] = None,
|
|
572
|
+
on_click: Optional[EventType[()]] = None,
|
|
573
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
574
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
575
|
+
on_focus: Optional[EventType[()]] = None,
|
|
576
|
+
on_mount: Optional[EventType[()]] = None,
|
|
577
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
578
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
579
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
580
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
581
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
582
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
583
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
584
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
585
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
586
586
|
**props,
|
|
587
587
|
) -> "Html":
|
|
588
588
|
"""Create the component.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
# ------------------------------------------------------
|
|
6
6
|
from typing import Any, Dict, Optional, Union, overload
|
|
7
7
|
|
|
8
|
-
from reflex.event import
|
|
8
|
+
from reflex.event import EventType
|
|
9
9
|
from reflex.style import Style
|
|
10
10
|
from reflex.vars.base import Var
|
|
11
11
|
|
|
@@ -47,21 +47,21 @@ class Canvas(BaseHTML):
|
|
|
47
47
|
class_name: Optional[Any] = None,
|
|
48
48
|
autofocus: Optional[bool] = None,
|
|
49
49
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
50
|
-
on_blur: Optional[EventType[
|
|
51
|
-
on_click: Optional[EventType[
|
|
52
|
-
on_context_menu: Optional[EventType[
|
|
53
|
-
on_double_click: Optional[EventType[
|
|
54
|
-
on_focus: Optional[EventType[
|
|
55
|
-
on_mount: Optional[EventType[
|
|
56
|
-
on_mouse_down: Optional[EventType[
|
|
57
|
-
on_mouse_enter: Optional[EventType[
|
|
58
|
-
on_mouse_leave: Optional[EventType[
|
|
59
|
-
on_mouse_move: Optional[EventType[
|
|
60
|
-
on_mouse_out: Optional[EventType[
|
|
61
|
-
on_mouse_over: Optional[EventType[
|
|
62
|
-
on_mouse_up: Optional[EventType[
|
|
63
|
-
on_scroll: Optional[EventType[
|
|
64
|
-
on_unmount: Optional[EventType[
|
|
50
|
+
on_blur: Optional[EventType[()]] = None,
|
|
51
|
+
on_click: Optional[EventType[()]] = None,
|
|
52
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
53
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
54
|
+
on_focus: Optional[EventType[()]] = None,
|
|
55
|
+
on_mount: Optional[EventType[()]] = None,
|
|
56
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
57
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
58
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
59
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
60
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
61
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
62
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
63
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
64
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
65
65
|
**props,
|
|
66
66
|
) -> "Canvas":
|
|
67
67
|
"""Create the component.
|
|
@@ -133,21 +133,21 @@ class Noscript(BaseHTML):
|
|
|
133
133
|
class_name: Optional[Any] = None,
|
|
134
134
|
autofocus: Optional[bool] = None,
|
|
135
135
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
136
|
-
on_blur: Optional[EventType[
|
|
137
|
-
on_click: Optional[EventType[
|
|
138
|
-
on_context_menu: Optional[EventType[
|
|
139
|
-
on_double_click: Optional[EventType[
|
|
140
|
-
on_focus: Optional[EventType[
|
|
141
|
-
on_mount: Optional[EventType[
|
|
142
|
-
on_mouse_down: Optional[EventType[
|
|
143
|
-
on_mouse_enter: Optional[EventType[
|
|
144
|
-
on_mouse_leave: Optional[EventType[
|
|
145
|
-
on_mouse_move: Optional[EventType[
|
|
146
|
-
on_mouse_out: Optional[EventType[
|
|
147
|
-
on_mouse_over: Optional[EventType[
|
|
148
|
-
on_mouse_up: Optional[EventType[
|
|
149
|
-
on_scroll: Optional[EventType[
|
|
150
|
-
on_unmount: Optional[EventType[
|
|
136
|
+
on_blur: Optional[EventType[()]] = None,
|
|
137
|
+
on_click: Optional[EventType[()]] = None,
|
|
138
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
139
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
140
|
+
on_focus: Optional[EventType[()]] = None,
|
|
141
|
+
on_mount: Optional[EventType[()]] = None,
|
|
142
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
143
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
144
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
145
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
146
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
147
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
148
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
149
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
150
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
151
151
|
**props,
|
|
152
152
|
) -> "Noscript":
|
|
153
153
|
"""Create the component.
|
|
@@ -232,21 +232,21 @@ class Script(BaseHTML):
|
|
|
232
232
|
class_name: Optional[Any] = None,
|
|
233
233
|
autofocus: Optional[bool] = None,
|
|
234
234
|
custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
|
|
235
|
-
on_blur: Optional[EventType[
|
|
236
|
-
on_click: Optional[EventType[
|
|
237
|
-
on_context_menu: Optional[EventType[
|
|
238
|
-
on_double_click: Optional[EventType[
|
|
239
|
-
on_focus: Optional[EventType[
|
|
240
|
-
on_mount: Optional[EventType[
|
|
241
|
-
on_mouse_down: Optional[EventType[
|
|
242
|
-
on_mouse_enter: Optional[EventType[
|
|
243
|
-
on_mouse_leave: Optional[EventType[
|
|
244
|
-
on_mouse_move: Optional[EventType[
|
|
245
|
-
on_mouse_out: Optional[EventType[
|
|
246
|
-
on_mouse_over: Optional[EventType[
|
|
247
|
-
on_mouse_up: Optional[EventType[
|
|
248
|
-
on_scroll: Optional[EventType[
|
|
249
|
-
on_unmount: Optional[EventType[
|
|
235
|
+
on_blur: Optional[EventType[()]] = None,
|
|
236
|
+
on_click: Optional[EventType[()]] = None,
|
|
237
|
+
on_context_menu: Optional[EventType[()]] = None,
|
|
238
|
+
on_double_click: Optional[EventType[()]] = None,
|
|
239
|
+
on_focus: Optional[EventType[()]] = None,
|
|
240
|
+
on_mount: Optional[EventType[()]] = None,
|
|
241
|
+
on_mouse_down: Optional[EventType[()]] = None,
|
|
242
|
+
on_mouse_enter: Optional[EventType[()]] = None,
|
|
243
|
+
on_mouse_leave: Optional[EventType[()]] = None,
|
|
244
|
+
on_mouse_move: Optional[EventType[()]] = None,
|
|
245
|
+
on_mouse_out: Optional[EventType[()]] = None,
|
|
246
|
+
on_mouse_over: Optional[EventType[()]] = None,
|
|
247
|
+
on_mouse_up: Optional[EventType[()]] = None,
|
|
248
|
+
on_scroll: Optional[EventType[()]] = None,
|
|
249
|
+
on_unmount: Optional[EventType[()]] = None,
|
|
250
250
|
**props,
|
|
251
251
|
) -> "Script":
|
|
252
252
|
"""Create the component.
|