|
| 1 | +"""Stub file for reflex/components/core/auto_scroll.py""" |
| 2 | + |
| 3 | +# ------------------- DO NOT EDIT ---------------------- |
| 4 | +# This file was generated by `reflex/utils/pyi_generator.py`! |
| 5 | +# ------------------------------------------------------ |
| 6 | +from typing import Any, Dict, Optional, Union, overload |
| 7 | + |
| 8 | +from reflex.components.el.elements.typography import Div |
| 9 | +from reflex.event import EventType |
| 10 | +from reflex.style import Style |
| 11 | +from reflex.utils.imports import ImportDict |
| 12 | +from reflex.vars.base import Var |
| 13 | + |
| 14 | +class AutoScroll(Div): |
| 15 | + @overload |
| 16 | + @classmethod |
| 17 | + def create( # type: ignore |
| 18 | + cls, |
| 19 | + *children, |
| 20 | + access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None, |
| 21 | + auto_capitalize: Optional[ |
| 22 | + Union[Var[Union[bool, int, str]], bool, int, str] |
| 23 | + ] = None, |
| 24 | + content_editable: Optional[ |
| 25 | + Union[Var[Union[bool, int, str]], bool, int, str] |
| 26 | + ] = None, |
| 27 | + context_menu: Optional[ |
| 28 | + Union[Var[Union[bool, int, str]], bool, int, str] |
| 29 | + ] = None, |
| 30 | + dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None, |
| 31 | + draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None, |
| 32 | + enter_key_hint: Optional[ |
| 33 | + Union[Var[Union[bool, int, str]], bool, int, str] |
| 34 | + ] = None, |
| 35 | + hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None, |
| 36 | + input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None, |
| 37 | + item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None, |
| 38 | + lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None, |
| 39 | + role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None, |
| 40 | + slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None, |
| 41 | + spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None, |
| 42 | + tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None, |
| 43 | + title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None, |
| 44 | + style: Optional[Style] = None, |
| 45 | + key: Optional[Any] = None, |
| 46 | + id: Optional[Any] = None, |
| 47 | + class_name: Optional[Any] = None, |
| 48 | + autofocus: Optional[bool] = None, |
| 49 | + custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None, |
| 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 | + **props, |
| 66 | + ) -> "AutoScroll": |
| 67 | + """Create an AutoScroll component. |
| 68 | +
|
| 69 | + Args: |
| 70 | + *children: The children of the component. |
| 71 | + access_key: Provides a hint for generating a keyboard shortcut for the current element. |
| 72 | + auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user. |
| 73 | + content_editable: Indicates whether the element's content is editable. |
| 74 | + context_menu: Defines the ID of a <menu> element which will serve as the element's context menu. |
| 75 | + dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) |
| 76 | + draggable: Defines whether the element can be dragged. |
| 77 | + enter_key_hint: Hints what media types the media element is able to play. |
| 78 | + hidden: Defines whether the element is hidden. |
| 79 | + input_mode: Defines the type of the element. |
| 80 | + item_prop: Defines the name of the element for metadata purposes. |
| 81 | + lang: Defines the language used in the element. |
| 82 | + role: Defines the role of the element. |
| 83 | + slot: Assigns a slot in a shadow DOM shadow tree to an element. |
| 84 | + spell_check: Defines whether the element may be checked for spelling errors. |
| 85 | + tab_index: Defines the position of the current element in the tabbing order. |
| 86 | + title: Defines a tooltip for the element. |
| 87 | + style: The style of the component. |
| 88 | + key: A unique key for the component. |
| 89 | + id: The id for the component. |
| 90 | + class_name: The class name for the component. |
| 91 | + autofocus: Whether the component should take the focus once the page is loaded |
| 92 | + custom_attrs: custom attribute |
| 93 | + **props: The props of the component. |
| 94 | +
|
| 95 | + Returns: |
| 96 | + An AutoScroll component. |
| 97 | + """ |
| 98 | + ... |
| 99 | + |
| 100 | + def add_imports(self) -> ImportDict | list[ImportDict]: ... |
| 101 | + def add_hooks(self) -> list[str | Var]: ... |
| 102 | + |
| 103 | +auto_scroll = AutoScroll.create |
0 commit comments