|
@@ -1,5 +1,4 @@
|
|
|
-"""Element classes. This is an auto-generated file. Do not edit. See ../generate.py."""
|
|
|
-from typing import Union
|
|
|
+from typing import Union, Optional
|
|
|
|
|
|
from reflex.components.el.element import Element
|
|
|
from reflex.vars import Var as Var
|
|
@@ -9,49 +8,49 @@ class BaseHTML(Element):
|
|
|
"""Base class for common attributes."""
|
|
|
|
|
|
# Provides a hint for generating a keyboard shortcut for the current element.
|
|
|
- access_key: Var[Union[str, int, bool]]
|
|
|
+ access_key: Optional[Var[Union[str, int, bool]]] = None
|
|
|
|
|
|
# Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
|
|
|
- auto_capitalize: Var[Union[str, int, bool]]
|
|
|
+ auto_capitalize: Optional[Var[Union[str, int, bool]]] = None
|
|
|
|
|
|
# Indicates whether the element's content is editable.
|
|
|
- content_editable: Var[Union[str, int, bool]]
|
|
|
+ content_editable: Optional[Var[Union[str, int, bool]]] = None
|
|
|
|
|
|
# Defines the ID of a <menu> element which will serve as the element's context menu.
|
|
|
- context_menu: Var[Union[str, int, bool]]
|
|
|
+ context_menu: Optional[Var[Union[str, int, bool]]] = None
|
|
|
|
|
|
# Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
|
|
- dir: Var[Union[str, int, bool]]
|
|
|
+ dir: Optional[Var[Union[str, int, bool]]] = None
|
|
|
|
|
|
# Defines whether the element can be dragged.
|
|
|
- draggable: Var[Union[str, int, bool]]
|
|
|
+ draggable: Optional[Var[Union[str, int, bool]]] = None
|
|
|
|
|
|
# Hints what media types the media element is able to play.
|
|
|
- enter_key_hint: Var[Union[str, int, bool]]
|
|
|
+ enter_key_hint: Optional[Var[Union[str, int, bool]]] = None
|
|
|
|
|
|
# Defines whether the element is hidden.
|
|
|
- hidden: Var[Union[str, int, bool]]
|
|
|
+ hidden: Optional[Var[Union[str, int, bool]]] = None
|
|
|
|
|
|
# Defines the type of the element.
|
|
|
- input_mode: Var[Union[str, int, bool]]
|
|
|
+ input_mode: Optional[Var[Union[str, int, bool]]] = None
|
|
|
|
|
|
# Defines the name of the element for metadata purposes.
|
|
|
- item_prop: Var[Union[str, int, bool]]
|
|
|
+ item_prop: Optional[Var[Union[str, int, bool]]] = None
|
|
|
|
|
|
# Defines the language used in the element.
|
|
|
- lang: Var[Union[str, int, bool]]
|
|
|
+ lang: Optional[Var[Union[str, int, bool]]] = None
|
|
|
|
|
|
# Defines the role of the element.
|
|
|
- role: Var[Union[str, int, bool]]
|
|
|
+ role: Optional[Var[Union[str, int, bool]]] = None
|
|
|
|
|
|
# Assigns a slot in a shadow DOM shadow tree to an element.
|
|
|
- slot: Var[Union[str, int, bool]]
|
|
|
+ slot: Optional[Var[Union[str, int, bool]]] = None
|
|
|
|
|
|
# Defines whether the element may be checked for spelling errors.
|
|
|
- spell_check: Var[Union[str, int, bool]]
|
|
|
+ spell_check: Optional[Var[Union[str, int, bool]]] = None
|
|
|
|
|
|
# Defines the position of the current element in the tabbing order.
|
|
|
- tab_index: Var[Union[str, int, bool]]
|
|
|
+ tab_index: Optional[Var[Union[str, int, bool]]] = None
|
|
|
|
|
|
# Defines a tooltip for the element.
|
|
|
- title: Var[Union[str, int, bool]]
|
|
|
+ title: Optional[Var[Union[str, int, bool]]] = None
|