other.pyi 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628
  1. """Stub file for reflex/components/el/elements/other.py"""
  2. # ------------------- DO NOT EDIT ----------------------
  3. # This file was generated by `reflex/utils/pyi_generator.py`!
  4. # ------------------------------------------------------
  5. from typing import Any, Dict, Optional, Union, overload
  6. from reflex.event import EventType
  7. from reflex.style import Style
  8. from reflex.vars.base import Var
  9. from .base import BaseHTML
  10. class Details(BaseHTML):
  11. @overload
  12. @classmethod
  13. def create( # type: ignore
  14. cls,
  15. *children,
  16. open: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  17. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  18. auto_capitalize: Optional[
  19. Union[Var[Union[bool, int, str]], bool, int, str]
  20. ] = None,
  21. content_editable: Optional[
  22. Union[Var[Union[bool, int, str]], bool, int, str]
  23. ] = None,
  24. context_menu: Optional[
  25. Union[Var[Union[bool, int, str]], bool, int, str]
  26. ] = None,
  27. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  28. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  29. enter_key_hint: Optional[
  30. Union[Var[Union[bool, int, str]], bool, int, str]
  31. ] = None,
  32. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  33. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  34. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  35. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  36. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  37. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  38. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  39. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  40. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  41. style: Optional[Style] = None,
  42. key: Optional[Any] = None,
  43. id: Optional[Any] = None,
  44. class_name: Optional[Any] = None,
  45. autofocus: Optional[bool] = None,
  46. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  47. on_blur: Optional[EventType[()]] = None,
  48. on_click: Optional[EventType[()]] = None,
  49. on_context_menu: Optional[EventType[()]] = None,
  50. on_double_click: Optional[EventType[()]] = None,
  51. on_focus: Optional[EventType[()]] = None,
  52. on_mount: Optional[EventType[()]] = None,
  53. on_mouse_down: Optional[EventType[()]] = None,
  54. on_mouse_enter: Optional[EventType[()]] = None,
  55. on_mouse_leave: Optional[EventType[()]] = None,
  56. on_mouse_move: Optional[EventType[()]] = None,
  57. on_mouse_out: Optional[EventType[()]] = None,
  58. on_mouse_over: Optional[EventType[()]] = None,
  59. on_mouse_up: Optional[EventType[()]] = None,
  60. on_scroll: Optional[EventType[()]] = None,
  61. on_unmount: Optional[EventType[()]] = None,
  62. **props,
  63. ) -> "Details":
  64. """Create the component.
  65. Args:
  66. *children: The children of the component.
  67. open: Indicates whether the details will be visible (expanded) to the user
  68. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  69. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  70. content_editable: Indicates whether the element's content is editable.
  71. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  72. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  73. draggable: Defines whether the element can be dragged.
  74. enter_key_hint: Hints what media types the media element is able to play.
  75. hidden: Defines whether the element is hidden.
  76. input_mode: Defines the type of the element.
  77. item_prop: Defines the name of the element for metadata purposes.
  78. lang: Defines the language used in the element.
  79. role: Defines the role of the element.
  80. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  81. spell_check: Defines whether the element may be checked for spelling errors.
  82. tab_index: Defines the position of the current element in the tabbing order.
  83. title: Defines a tooltip for the element.
  84. style: The style of the component.
  85. key: A unique key for the component.
  86. id: The id for the component.
  87. class_name: The class name for the component.
  88. autofocus: Whether the component should take the focus once the page is loaded
  89. custom_attrs: custom attribute
  90. **props: The props of the component.
  91. Returns:
  92. The component.
  93. """
  94. ...
  95. class Dialog(BaseHTML):
  96. @overload
  97. @classmethod
  98. def create( # type: ignore
  99. cls,
  100. *children,
  101. open: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  102. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  103. auto_capitalize: Optional[
  104. Union[Var[Union[bool, int, str]], bool, int, str]
  105. ] = None,
  106. content_editable: Optional[
  107. Union[Var[Union[bool, int, str]], bool, int, str]
  108. ] = None,
  109. context_menu: Optional[
  110. Union[Var[Union[bool, int, str]], bool, int, str]
  111. ] = None,
  112. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  113. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  114. enter_key_hint: Optional[
  115. Union[Var[Union[bool, int, str]], bool, int, str]
  116. ] = None,
  117. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  118. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  119. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  120. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  121. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  122. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  123. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  124. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  125. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  126. style: Optional[Style] = None,
  127. key: Optional[Any] = None,
  128. id: Optional[Any] = None,
  129. class_name: Optional[Any] = None,
  130. autofocus: Optional[bool] = None,
  131. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  132. on_blur: Optional[EventType[()]] = None,
  133. on_click: Optional[EventType[()]] = None,
  134. on_context_menu: Optional[EventType[()]] = None,
  135. on_double_click: Optional[EventType[()]] = None,
  136. on_focus: Optional[EventType[()]] = None,
  137. on_mount: Optional[EventType[()]] = None,
  138. on_mouse_down: Optional[EventType[()]] = None,
  139. on_mouse_enter: Optional[EventType[()]] = None,
  140. on_mouse_leave: Optional[EventType[()]] = None,
  141. on_mouse_move: Optional[EventType[()]] = None,
  142. on_mouse_out: Optional[EventType[()]] = None,
  143. on_mouse_over: Optional[EventType[()]] = None,
  144. on_mouse_up: Optional[EventType[()]] = None,
  145. on_scroll: Optional[EventType[()]] = None,
  146. on_unmount: Optional[EventType[()]] = None,
  147. **props,
  148. ) -> "Dialog":
  149. """Create the component.
  150. Args:
  151. *children: The children of the component.
  152. open: Indicates whether the dialog is active and can be interacted with
  153. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  154. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  155. content_editable: Indicates whether the element's content is editable.
  156. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  157. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  158. draggable: Defines whether the element can be dragged.
  159. enter_key_hint: Hints what media types the media element is able to play.
  160. hidden: Defines whether the element is hidden.
  161. input_mode: Defines the type of the element.
  162. item_prop: Defines the name of the element for metadata purposes.
  163. lang: Defines the language used in the element.
  164. role: Defines the role of the element.
  165. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  166. spell_check: Defines whether the element may be checked for spelling errors.
  167. tab_index: Defines the position of the current element in the tabbing order.
  168. title: Defines a tooltip for the element.
  169. style: The style of the component.
  170. key: A unique key for the component.
  171. id: The id for the component.
  172. class_name: The class name for the component.
  173. autofocus: Whether the component should take the focus once the page is loaded
  174. custom_attrs: custom attribute
  175. **props: The props of the component.
  176. Returns:
  177. The component.
  178. """
  179. ...
  180. class Summary(BaseHTML):
  181. @overload
  182. @classmethod
  183. def create( # type: ignore
  184. cls,
  185. *children,
  186. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  187. auto_capitalize: Optional[
  188. Union[Var[Union[bool, int, str]], bool, int, str]
  189. ] = None,
  190. content_editable: Optional[
  191. Union[Var[Union[bool, int, str]], bool, int, str]
  192. ] = None,
  193. context_menu: Optional[
  194. Union[Var[Union[bool, int, str]], bool, int, str]
  195. ] = None,
  196. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  197. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  198. enter_key_hint: Optional[
  199. Union[Var[Union[bool, int, str]], bool, int, str]
  200. ] = None,
  201. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  202. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  203. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  204. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  205. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  206. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  207. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  208. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  209. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  210. style: Optional[Style] = None,
  211. key: Optional[Any] = None,
  212. id: Optional[Any] = None,
  213. class_name: Optional[Any] = None,
  214. autofocus: Optional[bool] = None,
  215. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  216. on_blur: Optional[EventType[()]] = None,
  217. on_click: Optional[EventType[()]] = None,
  218. on_context_menu: Optional[EventType[()]] = None,
  219. on_double_click: Optional[EventType[()]] = None,
  220. on_focus: Optional[EventType[()]] = None,
  221. on_mount: Optional[EventType[()]] = None,
  222. on_mouse_down: Optional[EventType[()]] = None,
  223. on_mouse_enter: Optional[EventType[()]] = None,
  224. on_mouse_leave: Optional[EventType[()]] = None,
  225. on_mouse_move: Optional[EventType[()]] = None,
  226. on_mouse_out: Optional[EventType[()]] = None,
  227. on_mouse_over: Optional[EventType[()]] = None,
  228. on_mouse_up: Optional[EventType[()]] = None,
  229. on_scroll: Optional[EventType[()]] = None,
  230. on_unmount: Optional[EventType[()]] = None,
  231. **props,
  232. ) -> "Summary":
  233. """Create the component.
  234. Args:
  235. *children: The children of the component.
  236. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  237. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  238. content_editable: Indicates whether the element's content is editable.
  239. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  240. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  241. draggable: Defines whether the element can be dragged.
  242. enter_key_hint: Hints what media types the media element is able to play.
  243. hidden: Defines whether the element is hidden.
  244. input_mode: Defines the type of the element.
  245. item_prop: Defines the name of the element for metadata purposes.
  246. lang: Defines the language used in the element.
  247. role: Defines the role of the element.
  248. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  249. spell_check: Defines whether the element may be checked for spelling errors.
  250. tab_index: Defines the position of the current element in the tabbing order.
  251. title: Defines a tooltip for the element.
  252. style: The style of the component.
  253. key: A unique key for the component.
  254. id: The id for the component.
  255. class_name: The class name for the component.
  256. autofocus: Whether the component should take the focus once the page is loaded
  257. custom_attrs: custom attribute
  258. **props: The props of the component.
  259. Returns:
  260. The component.
  261. """
  262. ...
  263. class Slot(BaseHTML):
  264. @overload
  265. @classmethod
  266. def create( # type: ignore
  267. cls,
  268. *children,
  269. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  270. auto_capitalize: Optional[
  271. Union[Var[Union[bool, int, str]], bool, int, str]
  272. ] = None,
  273. content_editable: Optional[
  274. Union[Var[Union[bool, int, str]], bool, int, str]
  275. ] = None,
  276. context_menu: Optional[
  277. Union[Var[Union[bool, int, str]], bool, int, str]
  278. ] = None,
  279. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  280. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  281. enter_key_hint: Optional[
  282. Union[Var[Union[bool, int, str]], bool, int, str]
  283. ] = None,
  284. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  285. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  286. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  287. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  288. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  289. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  290. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  291. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  292. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  293. style: Optional[Style] = None,
  294. key: Optional[Any] = None,
  295. id: Optional[Any] = None,
  296. class_name: Optional[Any] = None,
  297. autofocus: Optional[bool] = None,
  298. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  299. on_blur: Optional[EventType[()]] = None,
  300. on_click: Optional[EventType[()]] = None,
  301. on_context_menu: Optional[EventType[()]] = None,
  302. on_double_click: Optional[EventType[()]] = None,
  303. on_focus: Optional[EventType[()]] = None,
  304. on_mount: Optional[EventType[()]] = None,
  305. on_mouse_down: Optional[EventType[()]] = None,
  306. on_mouse_enter: Optional[EventType[()]] = None,
  307. on_mouse_leave: Optional[EventType[()]] = None,
  308. on_mouse_move: Optional[EventType[()]] = None,
  309. on_mouse_out: Optional[EventType[()]] = None,
  310. on_mouse_over: Optional[EventType[()]] = None,
  311. on_mouse_up: Optional[EventType[()]] = None,
  312. on_scroll: Optional[EventType[()]] = None,
  313. on_unmount: Optional[EventType[()]] = None,
  314. **props,
  315. ) -> "Slot":
  316. """Create the component.
  317. Args:
  318. *children: The children of the component.
  319. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  320. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  321. content_editable: Indicates whether the element's content is editable.
  322. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  323. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  324. draggable: Defines whether the element can be dragged.
  325. enter_key_hint: Hints what media types the media element is able to play.
  326. hidden: Defines whether the element is hidden.
  327. input_mode: Defines the type of the element.
  328. item_prop: Defines the name of the element for metadata purposes.
  329. lang: Defines the language used in the element.
  330. role: Defines the role of the element.
  331. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  332. spell_check: Defines whether the element may be checked for spelling errors.
  333. tab_index: Defines the position of the current element in the tabbing order.
  334. title: Defines a tooltip for the element.
  335. style: The style of the component.
  336. key: A unique key for the component.
  337. id: The id for the component.
  338. class_name: The class name for the component.
  339. autofocus: Whether the component should take the focus once the page is loaded
  340. custom_attrs: custom attribute
  341. **props: The props of the component.
  342. Returns:
  343. The component.
  344. """
  345. ...
  346. class Template(BaseHTML):
  347. @overload
  348. @classmethod
  349. def create( # type: ignore
  350. cls,
  351. *children,
  352. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  353. auto_capitalize: Optional[
  354. Union[Var[Union[bool, int, str]], bool, int, str]
  355. ] = None,
  356. content_editable: Optional[
  357. Union[Var[Union[bool, int, str]], bool, int, str]
  358. ] = None,
  359. context_menu: Optional[
  360. Union[Var[Union[bool, int, str]], bool, int, str]
  361. ] = None,
  362. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  363. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  364. enter_key_hint: Optional[
  365. Union[Var[Union[bool, int, str]], bool, int, str]
  366. ] = None,
  367. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  368. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  369. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  370. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  371. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  372. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  373. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  374. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  375. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  376. style: Optional[Style] = None,
  377. key: Optional[Any] = None,
  378. id: Optional[Any] = None,
  379. class_name: Optional[Any] = None,
  380. autofocus: Optional[bool] = None,
  381. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  382. on_blur: Optional[EventType[()]] = None,
  383. on_click: Optional[EventType[()]] = None,
  384. on_context_menu: Optional[EventType[()]] = None,
  385. on_double_click: Optional[EventType[()]] = None,
  386. on_focus: Optional[EventType[()]] = None,
  387. on_mount: Optional[EventType[()]] = None,
  388. on_mouse_down: Optional[EventType[()]] = None,
  389. on_mouse_enter: Optional[EventType[()]] = None,
  390. on_mouse_leave: Optional[EventType[()]] = None,
  391. on_mouse_move: Optional[EventType[()]] = None,
  392. on_mouse_out: Optional[EventType[()]] = None,
  393. on_mouse_over: Optional[EventType[()]] = None,
  394. on_mouse_up: Optional[EventType[()]] = None,
  395. on_scroll: Optional[EventType[()]] = None,
  396. on_unmount: Optional[EventType[()]] = None,
  397. **props,
  398. ) -> "Template":
  399. """Create the component.
  400. Args:
  401. *children: The children of the component.
  402. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  403. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  404. content_editable: Indicates whether the element's content is editable.
  405. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  406. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  407. draggable: Defines whether the element can be dragged.
  408. enter_key_hint: Hints what media types the media element is able to play.
  409. hidden: Defines whether the element is hidden.
  410. input_mode: Defines the type of the element.
  411. item_prop: Defines the name of the element for metadata purposes.
  412. lang: Defines the language used in the element.
  413. role: Defines the role of the element.
  414. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  415. spell_check: Defines whether the element may be checked for spelling errors.
  416. tab_index: Defines the position of the current element in the tabbing order.
  417. title: Defines a tooltip for the element.
  418. style: The style of the component.
  419. key: A unique key for the component.
  420. id: The id for the component.
  421. class_name: The class name for the component.
  422. autofocus: Whether the component should take the focus once the page is loaded
  423. custom_attrs: custom attribute
  424. **props: The props of the component.
  425. Returns:
  426. The component.
  427. """
  428. ...
  429. class Math(BaseHTML):
  430. @overload
  431. @classmethod
  432. def create( # type: ignore
  433. cls,
  434. *children,
  435. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  436. auto_capitalize: Optional[
  437. Union[Var[Union[bool, int, str]], bool, int, str]
  438. ] = None,
  439. content_editable: Optional[
  440. Union[Var[Union[bool, int, str]], bool, int, str]
  441. ] = None,
  442. context_menu: Optional[
  443. Union[Var[Union[bool, int, str]], bool, int, str]
  444. ] = None,
  445. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  446. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  447. enter_key_hint: Optional[
  448. Union[Var[Union[bool, int, str]], bool, int, str]
  449. ] = None,
  450. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  451. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  452. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  453. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  454. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  455. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  456. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  457. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  458. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  459. style: Optional[Style] = None,
  460. key: Optional[Any] = None,
  461. id: Optional[Any] = None,
  462. class_name: Optional[Any] = None,
  463. autofocus: Optional[bool] = None,
  464. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  465. on_blur: Optional[EventType[()]] = None,
  466. on_click: Optional[EventType[()]] = None,
  467. on_context_menu: Optional[EventType[()]] = None,
  468. on_double_click: Optional[EventType[()]] = None,
  469. on_focus: Optional[EventType[()]] = None,
  470. on_mount: Optional[EventType[()]] = None,
  471. on_mouse_down: Optional[EventType[()]] = None,
  472. on_mouse_enter: Optional[EventType[()]] = None,
  473. on_mouse_leave: Optional[EventType[()]] = None,
  474. on_mouse_move: Optional[EventType[()]] = None,
  475. on_mouse_out: Optional[EventType[()]] = None,
  476. on_mouse_over: Optional[EventType[()]] = None,
  477. on_mouse_up: Optional[EventType[()]] = None,
  478. on_scroll: Optional[EventType[()]] = None,
  479. on_unmount: Optional[EventType[()]] = None,
  480. **props,
  481. ) -> "Math":
  482. """Create the component.
  483. Args:
  484. *children: The children of the component.
  485. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  486. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  487. content_editable: Indicates whether the element's content is editable.
  488. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  489. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  490. draggable: Defines whether the element can be dragged.
  491. enter_key_hint: Hints what media types the media element is able to play.
  492. hidden: Defines whether the element is hidden.
  493. input_mode: Defines the type of the element.
  494. item_prop: Defines the name of the element for metadata purposes.
  495. lang: Defines the language used in the element.
  496. role: Defines the role of the element.
  497. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  498. spell_check: Defines whether the element may be checked for spelling errors.
  499. tab_index: Defines the position of the current element in the tabbing order.
  500. title: Defines a tooltip for the element.
  501. style: The style of the component.
  502. key: A unique key for the component.
  503. id: The id for the component.
  504. class_name: The class name for the component.
  505. autofocus: Whether the component should take the focus once the page is loaded
  506. custom_attrs: custom attribute
  507. **props: The props of the component.
  508. Returns:
  509. The component.
  510. """
  511. ...
  512. class Html(BaseHTML):
  513. @overload
  514. @classmethod
  515. def create( # type: ignore
  516. cls,
  517. *children,
  518. manifest: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  519. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  520. auto_capitalize: Optional[
  521. Union[Var[Union[bool, int, str]], bool, int, str]
  522. ] = None,
  523. content_editable: Optional[
  524. Union[Var[Union[bool, int, str]], bool, int, str]
  525. ] = None,
  526. context_menu: Optional[
  527. Union[Var[Union[bool, int, str]], bool, int, str]
  528. ] = None,
  529. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  530. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  531. enter_key_hint: Optional[
  532. Union[Var[Union[bool, int, str]], bool, int, str]
  533. ] = None,
  534. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  535. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  536. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  537. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  538. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  539. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  540. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  541. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  542. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  543. style: Optional[Style] = None,
  544. key: Optional[Any] = None,
  545. id: Optional[Any] = None,
  546. class_name: Optional[Any] = None,
  547. autofocus: Optional[bool] = None,
  548. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  549. on_blur: Optional[EventType[()]] = None,
  550. on_click: Optional[EventType[()]] = None,
  551. on_context_menu: Optional[EventType[()]] = None,
  552. on_double_click: Optional[EventType[()]] = None,
  553. on_focus: Optional[EventType[()]] = None,
  554. on_mount: Optional[EventType[()]] = None,
  555. on_mouse_down: Optional[EventType[()]] = None,
  556. on_mouse_enter: Optional[EventType[()]] = None,
  557. on_mouse_leave: Optional[EventType[()]] = None,
  558. on_mouse_move: Optional[EventType[()]] = None,
  559. on_mouse_out: Optional[EventType[()]] = None,
  560. on_mouse_over: Optional[EventType[()]] = None,
  561. on_mouse_up: Optional[EventType[()]] = None,
  562. on_scroll: Optional[EventType[()]] = None,
  563. on_unmount: Optional[EventType[()]] = None,
  564. **props,
  565. ) -> "Html":
  566. """Create the component.
  567. Args:
  568. *children: The children of the component.
  569. manifest: Specifies the URL of the document's cache manifest (obsolete in HTML5)
  570. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  571. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  572. content_editable: Indicates whether the element's content is editable.
  573. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  574. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  575. draggable: Defines whether the element can be dragged.
  576. enter_key_hint: Hints what media types the media element is able to play.
  577. hidden: Defines whether the element is hidden.
  578. input_mode: Defines the type of the element.
  579. item_prop: Defines the name of the element for metadata purposes.
  580. lang: Defines the language used in the element.
  581. role: Defines the role of the element.
  582. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  583. spell_check: Defines whether the element may be checked for spelling errors.
  584. tab_index: Defines the position of the current element in the tabbing order.
  585. title: Defines a tooltip for the element.
  586. style: The style of the component.
  587. key: A unique key for the component.
  588. id: The id for the component.
  589. class_name: The class name for the component.
  590. autofocus: Whether the component should take the focus once the page is loaded
  591. custom_attrs: custom attribute
  592. **props: The props of the component.
  593. Returns:
  594. The component.
  595. """
  596. ...
  597. details = Details.create
  598. dialog = Dialog.create
  599. summary = Summary.create
  600. slot = Slot.create
  601. template = Template.create
  602. math = Math.create
  603. html = Html.create