tables.pyi 65 KB

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