sectioning.pyi 79 KB

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