sectioning.pyi 70 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318
  1. """Stub file for reflex/components/el/elements/sectioning.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 BASE_STATE, EventType
  7. from reflex.style import Style
  8. from reflex.vars.base import Var
  9. from .base import BaseHTML
  10. class Body(BaseHTML):
  11. @overload
  12. @classmethod
  13. def create( # type: ignore
  14. cls,
  15. *children,
  16. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  17. auto_capitalize: Optional[
  18. Union[Var[Union[bool, int, str]], bool, int, str]
  19. ] = None,
  20. content_editable: Optional[
  21. Union[Var[Union[bool, int, str]], bool, int, str]
  22. ] = None,
  23. context_menu: Optional[
  24. Union[Var[Union[bool, int, str]], bool, int, str]
  25. ] = None,
  26. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  27. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  28. enter_key_hint: Optional[
  29. Union[Var[Union[bool, int, str]], bool, int, str]
  30. ] = None,
  31. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  32. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  33. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  34. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  35. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  36. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  37. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  38. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  39. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  40. style: Optional[Style] = None,
  41. key: Optional[Any] = None,
  42. id: Optional[Any] = None,
  43. class_name: Optional[Any] = None,
  44. autofocus: Optional[bool] = None,
  45. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  46. on_blur: Optional[EventType[[], BASE_STATE]] = None,
  47. on_click: Optional[EventType[[], BASE_STATE]] = None,
  48. on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
  49. on_double_click: Optional[EventType[[], BASE_STATE]] = None,
  50. on_focus: Optional[EventType[[], BASE_STATE]] = None,
  51. on_mount: Optional[EventType[[], BASE_STATE]] = None,
  52. on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
  53. on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
  54. on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
  55. on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
  56. on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
  57. on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
  58. on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
  59. on_scroll: Optional[EventType[[], BASE_STATE]] = None,
  60. on_unmount: Optional[EventType[[], BASE_STATE]] = None,
  61. **props,
  62. ) -> "Body":
  63. """Create the component.
  64. Args:
  65. *children: The children of the component.
  66. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  67. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  68. content_editable: Indicates whether the element's content is editable.
  69. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  70. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  71. draggable: Defines whether the element can be dragged.
  72. enter_key_hint: Hints what media types the media element is able to play.
  73. hidden: Defines whether the element is hidden.
  74. input_mode: Defines the type of the element.
  75. item_prop: Defines the name of the element for metadata purposes.
  76. lang: Defines the language used in the element.
  77. role: Defines the role of the element.
  78. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  79. spell_check: Defines whether the element may be checked for spelling errors.
  80. tab_index: Defines the position of the current element in the tabbing order.
  81. title: Defines a tooltip for the element.
  82. style: The style of the component.
  83. key: A unique key for the component.
  84. id: The id for the component.
  85. class_name: The class name for the component.
  86. autofocus: Whether the component should take the focus once the page is loaded
  87. custom_attrs: custom attribute
  88. **props: The props of the component.
  89. Returns:
  90. The component.
  91. """
  92. ...
  93. class Address(BaseHTML):
  94. @overload
  95. @classmethod
  96. def create( # type: ignore
  97. cls,
  98. *children,
  99. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  100. auto_capitalize: Optional[
  101. Union[Var[Union[bool, int, str]], bool, int, str]
  102. ] = None,
  103. content_editable: Optional[
  104. Union[Var[Union[bool, int, str]], bool, int, str]
  105. ] = None,
  106. context_menu: Optional[
  107. Union[Var[Union[bool, int, str]], bool, int, str]
  108. ] = None,
  109. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  110. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  111. enter_key_hint: Optional[
  112. Union[Var[Union[bool, int, str]], bool, int, str]
  113. ] = None,
  114. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  115. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  116. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  117. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  118. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  119. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  120. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  121. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  122. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  123. style: Optional[Style] = None,
  124. key: Optional[Any] = None,
  125. id: Optional[Any] = None,
  126. class_name: Optional[Any] = None,
  127. autofocus: Optional[bool] = None,
  128. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  129. on_blur: Optional[EventType[[], BASE_STATE]] = None,
  130. on_click: Optional[EventType[[], BASE_STATE]] = None,
  131. on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
  132. on_double_click: Optional[EventType[[], BASE_STATE]] = None,
  133. on_focus: Optional[EventType[[], BASE_STATE]] = None,
  134. on_mount: Optional[EventType[[], BASE_STATE]] = None,
  135. on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
  136. on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
  137. on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
  138. on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
  139. on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
  140. on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
  141. on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
  142. on_scroll: Optional[EventType[[], BASE_STATE]] = None,
  143. on_unmount: Optional[EventType[[], BASE_STATE]] = None,
  144. **props,
  145. ) -> "Address":
  146. """Create the component.
  147. Args:
  148. *children: The children of the component.
  149. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  150. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  151. content_editable: Indicates whether the element's content is editable.
  152. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  153. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  154. draggable: Defines whether the element can be dragged.
  155. enter_key_hint: Hints what media types the media element is able to play.
  156. hidden: Defines whether the element is hidden.
  157. input_mode: Defines the type of the element.
  158. item_prop: Defines the name of the element for metadata purposes.
  159. lang: Defines the language used in the element.
  160. role: Defines the role of the element.
  161. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  162. spell_check: Defines whether the element may be checked for spelling errors.
  163. tab_index: Defines the position of the current element in the tabbing order.
  164. title: Defines a tooltip for the element.
  165. style: The style of the component.
  166. key: A unique key for the component.
  167. id: The id for the component.
  168. class_name: The class name for the component.
  169. autofocus: Whether the component should take the focus once the page is loaded
  170. custom_attrs: custom attribute
  171. **props: The props of the component.
  172. Returns:
  173. The component.
  174. """
  175. ...
  176. class Article(BaseHTML):
  177. @overload
  178. @classmethod
  179. def create( # type: ignore
  180. cls,
  181. *children,
  182. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  183. auto_capitalize: Optional[
  184. Union[Var[Union[bool, int, str]], bool, int, str]
  185. ] = None,
  186. content_editable: Optional[
  187. Union[Var[Union[bool, int, str]], bool, int, str]
  188. ] = None,
  189. context_menu: Optional[
  190. Union[Var[Union[bool, int, str]], bool, int, str]
  191. ] = None,
  192. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  193. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  194. enter_key_hint: Optional[
  195. Union[Var[Union[bool, int, str]], bool, int, str]
  196. ] = None,
  197. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  198. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  199. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  200. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  201. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  202. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  203. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  204. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  205. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  206. style: Optional[Style] = None,
  207. key: Optional[Any] = None,
  208. id: Optional[Any] = None,
  209. class_name: Optional[Any] = None,
  210. autofocus: Optional[bool] = None,
  211. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  212. on_blur: Optional[EventType[[], BASE_STATE]] = None,
  213. on_click: Optional[EventType[[], BASE_STATE]] = None,
  214. on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
  215. on_double_click: Optional[EventType[[], BASE_STATE]] = None,
  216. on_focus: Optional[EventType[[], BASE_STATE]] = None,
  217. on_mount: Optional[EventType[[], BASE_STATE]] = None,
  218. on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
  219. on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
  220. on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
  221. on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
  222. on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
  223. on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
  224. on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
  225. on_scroll: Optional[EventType[[], BASE_STATE]] = None,
  226. on_unmount: Optional[EventType[[], BASE_STATE]] = None,
  227. **props,
  228. ) -> "Article":
  229. """Create the component.
  230. Args:
  231. *children: The children of the component.
  232. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  233. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  234. content_editable: Indicates whether the element's content is editable.
  235. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  236. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  237. draggable: Defines whether the element can be dragged.
  238. enter_key_hint: Hints what media types the media element is able to play.
  239. hidden: Defines whether the element is hidden.
  240. input_mode: Defines the type of the element.
  241. item_prop: Defines the name of the element for metadata purposes.
  242. lang: Defines the language used in the element.
  243. role: Defines the role of the element.
  244. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  245. spell_check: Defines whether the element may be checked for spelling errors.
  246. tab_index: Defines the position of the current element in the tabbing order.
  247. title: Defines a tooltip for the element.
  248. style: The style of the component.
  249. key: A unique key for the component.
  250. id: The id for the component.
  251. class_name: The class name for the component.
  252. autofocus: Whether the component should take the focus once the page is loaded
  253. custom_attrs: custom attribute
  254. **props: The props of the component.
  255. Returns:
  256. The component.
  257. """
  258. ...
  259. class Aside(BaseHTML):
  260. @overload
  261. @classmethod
  262. def create( # type: ignore
  263. cls,
  264. *children,
  265. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  266. auto_capitalize: Optional[
  267. Union[Var[Union[bool, int, str]], bool, int, str]
  268. ] = None,
  269. content_editable: Optional[
  270. Union[Var[Union[bool, int, str]], bool, int, str]
  271. ] = None,
  272. context_menu: Optional[
  273. Union[Var[Union[bool, int, str]], bool, int, str]
  274. ] = None,
  275. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  276. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  277. enter_key_hint: Optional[
  278. Union[Var[Union[bool, int, str]], bool, int, str]
  279. ] = None,
  280. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  281. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  282. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  283. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  284. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  285. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  286. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  287. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  288. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  289. style: Optional[Style] = None,
  290. key: Optional[Any] = None,
  291. id: Optional[Any] = None,
  292. class_name: Optional[Any] = None,
  293. autofocus: Optional[bool] = None,
  294. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  295. on_blur: Optional[EventType[[], BASE_STATE]] = None,
  296. on_click: Optional[EventType[[], BASE_STATE]] = None,
  297. on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
  298. on_double_click: Optional[EventType[[], BASE_STATE]] = None,
  299. on_focus: Optional[EventType[[], BASE_STATE]] = None,
  300. on_mount: Optional[EventType[[], BASE_STATE]] = None,
  301. on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
  302. on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
  303. on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
  304. on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
  305. on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
  306. on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
  307. on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
  308. on_scroll: Optional[EventType[[], BASE_STATE]] = None,
  309. on_unmount: Optional[EventType[[], BASE_STATE]] = None,
  310. **props,
  311. ) -> "Aside":
  312. """Create the component.
  313. Args:
  314. *children: The children of the component.
  315. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  316. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  317. content_editable: Indicates whether the element's content is editable.
  318. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  319. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  320. draggable: Defines whether the element can be dragged.
  321. enter_key_hint: Hints what media types the media element is able to play.
  322. hidden: Defines whether the element is hidden.
  323. input_mode: Defines the type of the element.
  324. item_prop: Defines the name of the element for metadata purposes.
  325. lang: Defines the language used in the element.
  326. role: Defines the role of the element.
  327. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  328. spell_check: Defines whether the element may be checked for spelling errors.
  329. tab_index: Defines the position of the current element in the tabbing order.
  330. title: Defines a tooltip for the element.
  331. style: The style of the component.
  332. key: A unique key for the component.
  333. id: The id for the component.
  334. class_name: The class name for the component.
  335. autofocus: Whether the component should take the focus once the page is loaded
  336. custom_attrs: custom attribute
  337. **props: The props of the component.
  338. Returns:
  339. The component.
  340. """
  341. ...
  342. class Footer(BaseHTML):
  343. @overload
  344. @classmethod
  345. def create( # type: ignore
  346. cls,
  347. *children,
  348. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  349. auto_capitalize: Optional[
  350. Union[Var[Union[bool, int, str]], bool, int, str]
  351. ] = None,
  352. content_editable: Optional[
  353. Union[Var[Union[bool, int, str]], bool, int, str]
  354. ] = None,
  355. context_menu: Optional[
  356. Union[Var[Union[bool, int, str]], bool, int, str]
  357. ] = None,
  358. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  359. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  360. enter_key_hint: Optional[
  361. Union[Var[Union[bool, int, str]], bool, int, str]
  362. ] = None,
  363. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  364. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  365. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  366. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  367. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  368. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  369. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  370. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  371. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  372. style: Optional[Style] = None,
  373. key: Optional[Any] = None,
  374. id: Optional[Any] = None,
  375. class_name: Optional[Any] = None,
  376. autofocus: Optional[bool] = None,
  377. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  378. on_blur: Optional[EventType[[], BASE_STATE]] = None,
  379. on_click: Optional[EventType[[], BASE_STATE]] = None,
  380. on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
  381. on_double_click: Optional[EventType[[], BASE_STATE]] = None,
  382. on_focus: Optional[EventType[[], BASE_STATE]] = None,
  383. on_mount: Optional[EventType[[], BASE_STATE]] = None,
  384. on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
  385. on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
  386. on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
  387. on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
  388. on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
  389. on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
  390. on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
  391. on_scroll: Optional[EventType[[], BASE_STATE]] = None,
  392. on_unmount: Optional[EventType[[], BASE_STATE]] = None,
  393. **props,
  394. ) -> "Footer":
  395. """Create the component.
  396. Args:
  397. *children: The children of the component.
  398. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  399. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  400. content_editable: Indicates whether the element's content is editable.
  401. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  402. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  403. draggable: Defines whether the element can be dragged.
  404. enter_key_hint: Hints what media types the media element is able to play.
  405. hidden: Defines whether the element is hidden.
  406. input_mode: Defines the type of the element.
  407. item_prop: Defines the name of the element for metadata purposes.
  408. lang: Defines the language used in the element.
  409. role: Defines the role of the element.
  410. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  411. spell_check: Defines whether the element may be checked for spelling errors.
  412. tab_index: Defines the position of the current element in the tabbing order.
  413. title: Defines a tooltip for the element.
  414. style: The style of the component.
  415. key: A unique key for the component.
  416. id: The id for the component.
  417. class_name: The class name for the component.
  418. autofocus: Whether the component should take the focus once the page is loaded
  419. custom_attrs: custom attribute
  420. **props: The props of the component.
  421. Returns:
  422. The component.
  423. """
  424. ...
  425. class Header(BaseHTML):
  426. @overload
  427. @classmethod
  428. def create( # type: ignore
  429. cls,
  430. *children,
  431. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  432. auto_capitalize: Optional[
  433. Union[Var[Union[bool, int, str]], bool, int, str]
  434. ] = None,
  435. content_editable: Optional[
  436. Union[Var[Union[bool, int, str]], bool, int, str]
  437. ] = None,
  438. context_menu: Optional[
  439. Union[Var[Union[bool, int, str]], bool, int, str]
  440. ] = None,
  441. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  442. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  443. enter_key_hint: Optional[
  444. Union[Var[Union[bool, int, str]], bool, int, str]
  445. ] = None,
  446. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  447. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  448. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  449. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  450. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  451. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  452. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  453. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  454. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  455. style: Optional[Style] = None,
  456. key: Optional[Any] = None,
  457. id: Optional[Any] = None,
  458. class_name: Optional[Any] = None,
  459. autofocus: Optional[bool] = None,
  460. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  461. on_blur: Optional[EventType[[], BASE_STATE]] = None,
  462. on_click: Optional[EventType[[], BASE_STATE]] = None,
  463. on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
  464. on_double_click: Optional[EventType[[], BASE_STATE]] = None,
  465. on_focus: Optional[EventType[[], BASE_STATE]] = None,
  466. on_mount: Optional[EventType[[], BASE_STATE]] = None,
  467. on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
  468. on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
  469. on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
  470. on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
  471. on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
  472. on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
  473. on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
  474. on_scroll: Optional[EventType[[], BASE_STATE]] = None,
  475. on_unmount: Optional[EventType[[], BASE_STATE]] = None,
  476. **props,
  477. ) -> "Header":
  478. """Create the component.
  479. Args:
  480. *children: The children of the component.
  481. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  482. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  483. content_editable: Indicates whether the element's content is editable.
  484. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  485. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  486. draggable: Defines whether the element can be dragged.
  487. enter_key_hint: Hints what media types the media element is able to play.
  488. hidden: Defines whether the element is hidden.
  489. input_mode: Defines the type of the element.
  490. item_prop: Defines the name of the element for metadata purposes.
  491. lang: Defines the language used in the element.
  492. role: Defines the role of the element.
  493. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  494. spell_check: Defines whether the element may be checked for spelling errors.
  495. tab_index: Defines the position of the current element in the tabbing order.
  496. title: Defines a tooltip for the element.
  497. style: The style of the component.
  498. key: A unique key for the component.
  499. id: The id for the component.
  500. class_name: The class name for the component.
  501. autofocus: Whether the component should take the focus once the page is loaded
  502. custom_attrs: custom attribute
  503. **props: The props of the component.
  504. Returns:
  505. The component.
  506. """
  507. ...
  508. class H1(BaseHTML):
  509. @overload
  510. @classmethod
  511. def create( # type: ignore
  512. cls,
  513. *children,
  514. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  515. auto_capitalize: Optional[
  516. Union[Var[Union[bool, int, str]], bool, int, str]
  517. ] = None,
  518. content_editable: Optional[
  519. Union[Var[Union[bool, int, str]], bool, int, str]
  520. ] = None,
  521. context_menu: Optional[
  522. Union[Var[Union[bool, int, str]], bool, int, str]
  523. ] = None,
  524. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  525. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  526. enter_key_hint: Optional[
  527. Union[Var[Union[bool, int, str]], bool, int, str]
  528. ] = None,
  529. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  530. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  531. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  532. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  533. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  534. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  535. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  536. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  537. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  538. style: Optional[Style] = None,
  539. key: Optional[Any] = None,
  540. id: Optional[Any] = None,
  541. class_name: Optional[Any] = None,
  542. autofocus: Optional[bool] = None,
  543. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  544. on_blur: Optional[EventType[[], BASE_STATE]] = None,
  545. on_click: Optional[EventType[[], BASE_STATE]] = None,
  546. on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
  547. on_double_click: Optional[EventType[[], BASE_STATE]] = None,
  548. on_focus: Optional[EventType[[], BASE_STATE]] = None,
  549. on_mount: Optional[EventType[[], BASE_STATE]] = None,
  550. on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
  551. on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
  552. on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
  553. on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
  554. on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
  555. on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
  556. on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
  557. on_scroll: Optional[EventType[[], BASE_STATE]] = None,
  558. on_unmount: Optional[EventType[[], BASE_STATE]] = None,
  559. **props,
  560. ) -> "H1":
  561. """Create the component.
  562. Args:
  563. *children: The children of the component.
  564. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  565. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  566. content_editable: Indicates whether the element's content is editable.
  567. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  568. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  569. draggable: Defines whether the element can be dragged.
  570. enter_key_hint: Hints what media types the media element is able to play.
  571. hidden: Defines whether the element is hidden.
  572. input_mode: Defines the type of the element.
  573. item_prop: Defines the name of the element for metadata purposes.
  574. lang: Defines the language used in the element.
  575. role: Defines the role of the element.
  576. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  577. spell_check: Defines whether the element may be checked for spelling errors.
  578. tab_index: Defines the position of the current element in the tabbing order.
  579. title: Defines a tooltip for the element.
  580. style: The style of the component.
  581. key: A unique key for the component.
  582. id: The id for the component.
  583. class_name: The class name for the component.
  584. autofocus: Whether the component should take the focus once the page is loaded
  585. custom_attrs: custom attribute
  586. **props: The props of the component.
  587. Returns:
  588. The component.
  589. """
  590. ...
  591. class H2(BaseHTML):
  592. @overload
  593. @classmethod
  594. def create( # type: ignore
  595. cls,
  596. *children,
  597. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  598. auto_capitalize: Optional[
  599. Union[Var[Union[bool, int, str]], bool, int, str]
  600. ] = None,
  601. content_editable: Optional[
  602. Union[Var[Union[bool, int, str]], bool, int, str]
  603. ] = None,
  604. context_menu: Optional[
  605. Union[Var[Union[bool, int, str]], bool, int, str]
  606. ] = None,
  607. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  608. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  609. enter_key_hint: Optional[
  610. Union[Var[Union[bool, int, str]], bool, int, str]
  611. ] = None,
  612. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  613. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  614. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  615. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  616. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  617. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  618. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  619. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  620. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  621. style: Optional[Style] = None,
  622. key: Optional[Any] = None,
  623. id: Optional[Any] = None,
  624. class_name: Optional[Any] = None,
  625. autofocus: Optional[bool] = None,
  626. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  627. on_blur: Optional[EventType[[], BASE_STATE]] = None,
  628. on_click: Optional[EventType[[], BASE_STATE]] = None,
  629. on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
  630. on_double_click: Optional[EventType[[], BASE_STATE]] = None,
  631. on_focus: Optional[EventType[[], BASE_STATE]] = None,
  632. on_mount: Optional[EventType[[], BASE_STATE]] = None,
  633. on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
  634. on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
  635. on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
  636. on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
  637. on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
  638. on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
  639. on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
  640. on_scroll: Optional[EventType[[], BASE_STATE]] = None,
  641. on_unmount: Optional[EventType[[], BASE_STATE]] = None,
  642. **props,
  643. ) -> "H2":
  644. """Create the component.
  645. Args:
  646. *children: The children of the component.
  647. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  648. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  649. content_editable: Indicates whether the element's content is editable.
  650. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  651. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  652. draggable: Defines whether the element can be dragged.
  653. enter_key_hint: Hints what media types the media element is able to play.
  654. hidden: Defines whether the element is hidden.
  655. input_mode: Defines the type of the element.
  656. item_prop: Defines the name of the element for metadata purposes.
  657. lang: Defines the language used in the element.
  658. role: Defines the role of the element.
  659. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  660. spell_check: Defines whether the element may be checked for spelling errors.
  661. tab_index: Defines the position of the current element in the tabbing order.
  662. title: Defines a tooltip for the element.
  663. style: The style of the component.
  664. key: A unique key for the component.
  665. id: The id for the component.
  666. class_name: The class name for the component.
  667. autofocus: Whether the component should take the focus once the page is loaded
  668. custom_attrs: custom attribute
  669. **props: The props of the component.
  670. Returns:
  671. The component.
  672. """
  673. ...
  674. class H3(BaseHTML):
  675. @overload
  676. @classmethod
  677. def create( # type: ignore
  678. cls,
  679. *children,
  680. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  681. auto_capitalize: Optional[
  682. Union[Var[Union[bool, int, str]], bool, int, str]
  683. ] = None,
  684. content_editable: Optional[
  685. Union[Var[Union[bool, int, str]], bool, int, str]
  686. ] = None,
  687. context_menu: Optional[
  688. Union[Var[Union[bool, int, str]], bool, int, str]
  689. ] = None,
  690. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  691. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  692. enter_key_hint: Optional[
  693. Union[Var[Union[bool, int, str]], bool, int, str]
  694. ] = None,
  695. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  696. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  697. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  698. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  699. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  700. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  701. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  702. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  703. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  704. style: Optional[Style] = None,
  705. key: Optional[Any] = None,
  706. id: Optional[Any] = None,
  707. class_name: Optional[Any] = None,
  708. autofocus: Optional[bool] = None,
  709. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  710. on_blur: Optional[EventType[[], BASE_STATE]] = None,
  711. on_click: Optional[EventType[[], BASE_STATE]] = None,
  712. on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
  713. on_double_click: Optional[EventType[[], BASE_STATE]] = None,
  714. on_focus: Optional[EventType[[], BASE_STATE]] = None,
  715. on_mount: Optional[EventType[[], BASE_STATE]] = None,
  716. on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
  717. on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
  718. on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
  719. on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
  720. on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
  721. on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
  722. on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
  723. on_scroll: Optional[EventType[[], BASE_STATE]] = None,
  724. on_unmount: Optional[EventType[[], BASE_STATE]] = None,
  725. **props,
  726. ) -> "H3":
  727. """Create the component.
  728. Args:
  729. *children: The children of the component.
  730. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  731. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  732. content_editable: Indicates whether the element's content is editable.
  733. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  734. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  735. draggable: Defines whether the element can be dragged.
  736. enter_key_hint: Hints what media types the media element is able to play.
  737. hidden: Defines whether the element is hidden.
  738. input_mode: Defines the type of the element.
  739. item_prop: Defines the name of the element for metadata purposes.
  740. lang: Defines the language used in the element.
  741. role: Defines the role of the element.
  742. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  743. spell_check: Defines whether the element may be checked for spelling errors.
  744. tab_index: Defines the position of the current element in the tabbing order.
  745. title: Defines a tooltip for the element.
  746. style: The style of the component.
  747. key: A unique key for the component.
  748. id: The id for the component.
  749. class_name: The class name for the component.
  750. autofocus: Whether the component should take the focus once the page is loaded
  751. custom_attrs: custom attribute
  752. **props: The props of the component.
  753. Returns:
  754. The component.
  755. """
  756. ...
  757. class H4(BaseHTML):
  758. @overload
  759. @classmethod
  760. def create( # type: ignore
  761. cls,
  762. *children,
  763. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  764. auto_capitalize: Optional[
  765. Union[Var[Union[bool, int, str]], bool, int, str]
  766. ] = None,
  767. content_editable: Optional[
  768. Union[Var[Union[bool, int, str]], bool, int, str]
  769. ] = None,
  770. context_menu: Optional[
  771. Union[Var[Union[bool, int, str]], bool, int, str]
  772. ] = None,
  773. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  774. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  775. enter_key_hint: Optional[
  776. Union[Var[Union[bool, int, str]], bool, int, str]
  777. ] = None,
  778. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  779. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  780. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  781. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  782. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  783. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  784. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  785. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  786. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  787. style: Optional[Style] = None,
  788. key: Optional[Any] = None,
  789. id: Optional[Any] = None,
  790. class_name: Optional[Any] = None,
  791. autofocus: Optional[bool] = None,
  792. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  793. on_blur: Optional[EventType[[], BASE_STATE]] = None,
  794. on_click: Optional[EventType[[], BASE_STATE]] = None,
  795. on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
  796. on_double_click: Optional[EventType[[], BASE_STATE]] = None,
  797. on_focus: Optional[EventType[[], BASE_STATE]] = None,
  798. on_mount: Optional[EventType[[], BASE_STATE]] = None,
  799. on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
  800. on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
  801. on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
  802. on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
  803. on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
  804. on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
  805. on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
  806. on_scroll: Optional[EventType[[], BASE_STATE]] = None,
  807. on_unmount: Optional[EventType[[], BASE_STATE]] = None,
  808. **props,
  809. ) -> "H4":
  810. """Create the component.
  811. Args:
  812. *children: The children of the component.
  813. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  814. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  815. content_editable: Indicates whether the element's content is editable.
  816. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  817. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  818. draggable: Defines whether the element can be dragged.
  819. enter_key_hint: Hints what media types the media element is able to play.
  820. hidden: Defines whether the element is hidden.
  821. input_mode: Defines the type of the element.
  822. item_prop: Defines the name of the element for metadata purposes.
  823. lang: Defines the language used in the element.
  824. role: Defines the role of the element.
  825. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  826. spell_check: Defines whether the element may be checked for spelling errors.
  827. tab_index: Defines the position of the current element in the tabbing order.
  828. title: Defines a tooltip for the element.
  829. style: The style of the component.
  830. key: A unique key for the component.
  831. id: The id for the component.
  832. class_name: The class name for the component.
  833. autofocus: Whether the component should take the focus once the page is loaded
  834. custom_attrs: custom attribute
  835. **props: The props of the component.
  836. Returns:
  837. The component.
  838. """
  839. ...
  840. class H5(BaseHTML):
  841. @overload
  842. @classmethod
  843. def create( # type: ignore
  844. cls,
  845. *children,
  846. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  847. auto_capitalize: Optional[
  848. Union[Var[Union[bool, int, str]], bool, int, str]
  849. ] = None,
  850. content_editable: Optional[
  851. Union[Var[Union[bool, int, str]], bool, int, str]
  852. ] = None,
  853. context_menu: Optional[
  854. Union[Var[Union[bool, int, str]], bool, int, str]
  855. ] = None,
  856. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  857. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  858. enter_key_hint: Optional[
  859. Union[Var[Union[bool, int, str]], bool, int, str]
  860. ] = None,
  861. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  862. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  863. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  864. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  865. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  866. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  867. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  868. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  869. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  870. style: Optional[Style] = None,
  871. key: Optional[Any] = None,
  872. id: Optional[Any] = None,
  873. class_name: Optional[Any] = None,
  874. autofocus: Optional[bool] = None,
  875. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  876. on_blur: Optional[EventType[[], BASE_STATE]] = None,
  877. on_click: Optional[EventType[[], BASE_STATE]] = None,
  878. on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
  879. on_double_click: Optional[EventType[[], BASE_STATE]] = None,
  880. on_focus: Optional[EventType[[], BASE_STATE]] = None,
  881. on_mount: Optional[EventType[[], BASE_STATE]] = None,
  882. on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
  883. on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
  884. on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
  885. on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
  886. on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
  887. on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
  888. on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
  889. on_scroll: Optional[EventType[[], BASE_STATE]] = None,
  890. on_unmount: Optional[EventType[[], BASE_STATE]] = None,
  891. **props,
  892. ) -> "H5":
  893. """Create the component.
  894. Args:
  895. *children: The children of the component.
  896. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  897. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  898. content_editable: Indicates whether the element's content is editable.
  899. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  900. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  901. draggable: Defines whether the element can be dragged.
  902. enter_key_hint: Hints what media types the media element is able to play.
  903. hidden: Defines whether the element is hidden.
  904. input_mode: Defines the type of the element.
  905. item_prop: Defines the name of the element for metadata purposes.
  906. lang: Defines the language used in the element.
  907. role: Defines the role of the element.
  908. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  909. spell_check: Defines whether the element may be checked for spelling errors.
  910. tab_index: Defines the position of the current element in the tabbing order.
  911. title: Defines a tooltip for the element.
  912. style: The style of the component.
  913. key: A unique key for the component.
  914. id: The id for the component.
  915. class_name: The class name for the component.
  916. autofocus: Whether the component should take the focus once the page is loaded
  917. custom_attrs: custom attribute
  918. **props: The props of the component.
  919. Returns:
  920. The component.
  921. """
  922. ...
  923. class H6(BaseHTML):
  924. @overload
  925. @classmethod
  926. def create( # type: ignore
  927. cls,
  928. *children,
  929. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  930. auto_capitalize: Optional[
  931. Union[Var[Union[bool, int, str]], bool, int, str]
  932. ] = None,
  933. content_editable: Optional[
  934. Union[Var[Union[bool, int, str]], bool, int, str]
  935. ] = None,
  936. context_menu: Optional[
  937. Union[Var[Union[bool, int, str]], bool, int, str]
  938. ] = None,
  939. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  940. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  941. enter_key_hint: Optional[
  942. Union[Var[Union[bool, int, str]], bool, int, str]
  943. ] = None,
  944. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  945. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  946. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  947. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  948. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  949. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  950. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  951. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  952. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  953. style: Optional[Style] = None,
  954. key: Optional[Any] = None,
  955. id: Optional[Any] = None,
  956. class_name: Optional[Any] = None,
  957. autofocus: Optional[bool] = None,
  958. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  959. on_blur: Optional[EventType[[], BASE_STATE]] = None,
  960. on_click: Optional[EventType[[], BASE_STATE]] = None,
  961. on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
  962. on_double_click: Optional[EventType[[], BASE_STATE]] = None,
  963. on_focus: Optional[EventType[[], BASE_STATE]] = None,
  964. on_mount: Optional[EventType[[], BASE_STATE]] = None,
  965. on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
  966. on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
  967. on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
  968. on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
  969. on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
  970. on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
  971. on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
  972. on_scroll: Optional[EventType[[], BASE_STATE]] = None,
  973. on_unmount: Optional[EventType[[], BASE_STATE]] = None,
  974. **props,
  975. ) -> "H6":
  976. """Create the component.
  977. Args:
  978. *children: The children of the component.
  979. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  980. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  981. content_editable: Indicates whether the element's content is editable.
  982. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  983. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  984. draggable: Defines whether the element can be dragged.
  985. enter_key_hint: Hints what media types the media element is able to play.
  986. hidden: Defines whether the element is hidden.
  987. input_mode: Defines the type of the element.
  988. item_prop: Defines the name of the element for metadata purposes.
  989. lang: Defines the language used in the element.
  990. role: Defines the role of the element.
  991. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  992. spell_check: Defines whether the element may be checked for spelling errors.
  993. tab_index: Defines the position of the current element in the tabbing order.
  994. title: Defines a tooltip for the element.
  995. style: The style of the component.
  996. key: A unique key for the component.
  997. id: The id for the component.
  998. class_name: The class name for the component.
  999. autofocus: Whether the component should take the focus once the page is loaded
  1000. custom_attrs: custom attribute
  1001. **props: The props of the component.
  1002. Returns:
  1003. The component.
  1004. """
  1005. ...
  1006. class Main(BaseHTML):
  1007. @overload
  1008. @classmethod
  1009. def create( # type: ignore
  1010. cls,
  1011. *children,
  1012. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1013. auto_capitalize: Optional[
  1014. Union[Var[Union[bool, int, str]], bool, int, str]
  1015. ] = None,
  1016. content_editable: Optional[
  1017. Union[Var[Union[bool, int, str]], bool, int, str]
  1018. ] = None,
  1019. context_menu: Optional[
  1020. Union[Var[Union[bool, int, str]], bool, int, str]
  1021. ] = None,
  1022. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1023. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1024. enter_key_hint: Optional[
  1025. Union[Var[Union[bool, int, str]], bool, int, str]
  1026. ] = None,
  1027. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1028. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1029. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1030. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1031. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1032. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1033. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1034. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1035. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1036. style: Optional[Style] = None,
  1037. key: Optional[Any] = None,
  1038. id: Optional[Any] = None,
  1039. class_name: Optional[Any] = None,
  1040. autofocus: Optional[bool] = None,
  1041. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  1042. on_blur: Optional[EventType[[], BASE_STATE]] = None,
  1043. on_click: Optional[EventType[[], BASE_STATE]] = None,
  1044. on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
  1045. on_double_click: Optional[EventType[[], BASE_STATE]] = None,
  1046. on_focus: Optional[EventType[[], BASE_STATE]] = None,
  1047. on_mount: Optional[EventType[[], BASE_STATE]] = None,
  1048. on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
  1049. on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
  1050. on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
  1051. on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
  1052. on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
  1053. on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
  1054. on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
  1055. on_scroll: Optional[EventType[[], BASE_STATE]] = None,
  1056. on_unmount: Optional[EventType[[], BASE_STATE]] = None,
  1057. **props,
  1058. ) -> "Main":
  1059. """Create the component.
  1060. Args:
  1061. *children: The children of the component.
  1062. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  1063. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  1064. content_editable: Indicates whether the element's content is editable.
  1065. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  1066. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  1067. draggable: Defines whether the element can be dragged.
  1068. enter_key_hint: Hints what media types the media element is able to play.
  1069. hidden: Defines whether the element is hidden.
  1070. input_mode: Defines the type of the element.
  1071. item_prop: Defines the name of the element for metadata purposes.
  1072. lang: Defines the language used in the element.
  1073. role: Defines the role of the element.
  1074. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  1075. spell_check: Defines whether the element may be checked for spelling errors.
  1076. tab_index: Defines the position of the current element in the tabbing order.
  1077. title: Defines a tooltip for the element.
  1078. style: The style of the component.
  1079. key: A unique key for the component.
  1080. id: The id for the component.
  1081. class_name: The class name for the component.
  1082. autofocus: Whether the component should take the focus once the page is loaded
  1083. custom_attrs: custom attribute
  1084. **props: The props of the component.
  1085. Returns:
  1086. The component.
  1087. """
  1088. ...
  1089. class Nav(BaseHTML):
  1090. @overload
  1091. @classmethod
  1092. def create( # type: ignore
  1093. cls,
  1094. *children,
  1095. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1096. auto_capitalize: Optional[
  1097. Union[Var[Union[bool, int, str]], bool, int, str]
  1098. ] = None,
  1099. content_editable: Optional[
  1100. Union[Var[Union[bool, int, str]], bool, int, str]
  1101. ] = None,
  1102. context_menu: Optional[
  1103. Union[Var[Union[bool, int, str]], bool, int, str]
  1104. ] = None,
  1105. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1106. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1107. enter_key_hint: Optional[
  1108. Union[Var[Union[bool, int, str]], bool, int, str]
  1109. ] = None,
  1110. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1111. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1112. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1113. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1114. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1115. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1116. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1117. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1118. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1119. style: Optional[Style] = None,
  1120. key: Optional[Any] = None,
  1121. id: Optional[Any] = None,
  1122. class_name: Optional[Any] = None,
  1123. autofocus: Optional[bool] = None,
  1124. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  1125. on_blur: Optional[EventType[[], BASE_STATE]] = None,
  1126. on_click: Optional[EventType[[], BASE_STATE]] = None,
  1127. on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
  1128. on_double_click: Optional[EventType[[], BASE_STATE]] = None,
  1129. on_focus: Optional[EventType[[], BASE_STATE]] = None,
  1130. on_mount: Optional[EventType[[], BASE_STATE]] = None,
  1131. on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
  1132. on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
  1133. on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
  1134. on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
  1135. on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
  1136. on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
  1137. on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
  1138. on_scroll: Optional[EventType[[], BASE_STATE]] = None,
  1139. on_unmount: Optional[EventType[[], BASE_STATE]] = None,
  1140. **props,
  1141. ) -> "Nav":
  1142. """Create the component.
  1143. Args:
  1144. *children: The children of the component.
  1145. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  1146. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  1147. content_editable: Indicates whether the element's content is editable.
  1148. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  1149. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  1150. draggable: Defines whether the element can be dragged.
  1151. enter_key_hint: Hints what media types the media element is able to play.
  1152. hidden: Defines whether the element is hidden.
  1153. input_mode: Defines the type of the element.
  1154. item_prop: Defines the name of the element for metadata purposes.
  1155. lang: Defines the language used in the element.
  1156. role: Defines the role of the element.
  1157. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  1158. spell_check: Defines whether the element may be checked for spelling errors.
  1159. tab_index: Defines the position of the current element in the tabbing order.
  1160. title: Defines a tooltip for the element.
  1161. style: The style of the component.
  1162. key: A unique key for the component.
  1163. id: The id for the component.
  1164. class_name: The class name for the component.
  1165. autofocus: Whether the component should take the focus once the page is loaded
  1166. custom_attrs: custom attribute
  1167. **props: The props of the component.
  1168. Returns:
  1169. The component.
  1170. """
  1171. ...
  1172. class Section(BaseHTML):
  1173. @overload
  1174. @classmethod
  1175. def create( # type: ignore
  1176. cls,
  1177. *children,
  1178. access_key: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1179. auto_capitalize: Optional[
  1180. Union[Var[Union[bool, int, str]], bool, int, str]
  1181. ] = None,
  1182. content_editable: Optional[
  1183. Union[Var[Union[bool, int, str]], bool, int, str]
  1184. ] = None,
  1185. context_menu: Optional[
  1186. Union[Var[Union[bool, int, str]], bool, int, str]
  1187. ] = None,
  1188. dir: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1189. draggable: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1190. enter_key_hint: Optional[
  1191. Union[Var[Union[bool, int, str]], bool, int, str]
  1192. ] = None,
  1193. hidden: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1194. input_mode: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1195. item_prop: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1196. lang: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1197. role: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1198. slot: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1199. spell_check: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1200. tab_index: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1201. title: Optional[Union[Var[Union[bool, int, str]], bool, int, str]] = None,
  1202. style: Optional[Style] = None,
  1203. key: Optional[Any] = None,
  1204. id: Optional[Any] = None,
  1205. class_name: Optional[Any] = None,
  1206. autofocus: Optional[bool] = None,
  1207. custom_attrs: Optional[Dict[str, Union[Var, Any]]] = None,
  1208. on_blur: Optional[EventType[[], BASE_STATE]] = None,
  1209. on_click: Optional[EventType[[], BASE_STATE]] = None,
  1210. on_context_menu: Optional[EventType[[], BASE_STATE]] = None,
  1211. on_double_click: Optional[EventType[[], BASE_STATE]] = None,
  1212. on_focus: Optional[EventType[[], BASE_STATE]] = None,
  1213. on_mount: Optional[EventType[[], BASE_STATE]] = None,
  1214. on_mouse_down: Optional[EventType[[], BASE_STATE]] = None,
  1215. on_mouse_enter: Optional[EventType[[], BASE_STATE]] = None,
  1216. on_mouse_leave: Optional[EventType[[], BASE_STATE]] = None,
  1217. on_mouse_move: Optional[EventType[[], BASE_STATE]] = None,
  1218. on_mouse_out: Optional[EventType[[], BASE_STATE]] = None,
  1219. on_mouse_over: Optional[EventType[[], BASE_STATE]] = None,
  1220. on_mouse_up: Optional[EventType[[], BASE_STATE]] = None,
  1221. on_scroll: Optional[EventType[[], BASE_STATE]] = None,
  1222. on_unmount: Optional[EventType[[], BASE_STATE]] = None,
  1223. **props,
  1224. ) -> "Section":
  1225. """Create the component.
  1226. Args:
  1227. *children: The children of the component.
  1228. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  1229. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  1230. content_editable: Indicates whether the element's content is editable.
  1231. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  1232. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  1233. draggable: Defines whether the element can be dragged.
  1234. enter_key_hint: Hints what media types the media element is able to play.
  1235. hidden: Defines whether the element is hidden.
  1236. input_mode: Defines the type of the element.
  1237. item_prop: Defines the name of the element for metadata purposes.
  1238. lang: Defines the language used in the element.
  1239. role: Defines the role of the element.
  1240. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  1241. spell_check: Defines whether the element may be checked for spelling errors.
  1242. tab_index: Defines the position of the current element in the tabbing order.
  1243. title: Defines a tooltip for the element.
  1244. style: The style of the component.
  1245. key: A unique key for the component.
  1246. id: The id for the component.
  1247. class_name: The class name for the component.
  1248. autofocus: Whether the component should take the focus once the page is loaded
  1249. custom_attrs: custom attribute
  1250. **props: The props of the component.
  1251. Returns:
  1252. The component.
  1253. """
  1254. ...
  1255. address = Address.create
  1256. article = Article.create
  1257. aside = Aside.create
  1258. body = Body.create
  1259. header = Header.create
  1260. footer = Footer.create
  1261. h1 = H1.create
  1262. h2 = H2.create
  1263. h3 = H3.create
  1264. h4 = H4.create
  1265. h5 = H5.create
  1266. h6 = H6.create
  1267. main = Main.create
  1268. nav = Nav.create
  1269. section = Section.create