sectioning.pyi 82 KB

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