tables.pyi 56 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123
  1. """Stub file for reflex/components/el/elements/tables.py"""
  2. # ------------------- DO NOT EDIT ----------------------
  3. # This file was generated by `reflex/utils/pyi_generator.py`!
  4. # ------------------------------------------------------
  5. from typing import Any, Callable, Dict, Optional, Union, overload
  6. from reflex.event import EventHandler, EventSpec
  7. from reflex.style import Style
  8. from reflex.vars import Var
  9. from .base import BaseHTML
  10. class Caption(BaseHTML):
  11. @overload
  12. @classmethod
  13. def create( # type: ignore
  14. cls,
  15. *children,
  16. align: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  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[Var, str]]] = None,
  47. on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  48. on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  49. on_context_menu: Optional[
  50. Union[EventHandler, EventSpec, list, Callable, Var]
  51. ] = None,
  52. on_double_click: Optional[
  53. Union[EventHandler, EventSpec, list, Callable, Var]
  54. ] = None,
  55. on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  56. on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  57. on_mouse_down: Optional[
  58. Union[EventHandler, EventSpec, list, Callable, Var]
  59. ] = None,
  60. on_mouse_enter: Optional[
  61. Union[EventHandler, EventSpec, list, Callable, Var]
  62. ] = None,
  63. on_mouse_leave: Optional[
  64. Union[EventHandler, EventSpec, list, Callable, Var]
  65. ] = None,
  66. on_mouse_move: Optional[
  67. Union[EventHandler, EventSpec, list, Callable, Var]
  68. ] = None,
  69. on_mouse_out: Optional[
  70. Union[EventHandler, EventSpec, list, Callable, Var]
  71. ] = None,
  72. on_mouse_over: Optional[
  73. Union[EventHandler, EventSpec, list, Callable, Var]
  74. ] = None,
  75. on_mouse_up: Optional[
  76. Union[EventHandler, EventSpec, list, Callable, Var]
  77. ] = None,
  78. on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  79. on_unmount: Optional[
  80. Union[EventHandler, EventSpec, list, Callable, Var]
  81. ] = None,
  82. **props,
  83. ) -> "Caption":
  84. """Create the component.
  85. Args:
  86. *children: The children of the component.
  87. align: Alignment of the caption
  88. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  89. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  90. content_editable: Indicates whether the element's content is editable.
  91. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  92. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  93. draggable: Defines whether the element can be dragged.
  94. enter_key_hint: Hints what media types the media element is able to play.
  95. hidden: Defines whether the element is hidden.
  96. input_mode: Defines the type of the element.
  97. item_prop: Defines the name of the element for metadata purposes.
  98. lang: Defines the language used in the element.
  99. role: Defines the role of the element.
  100. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  101. spell_check: Defines whether the element may be checked for spelling errors.
  102. tab_index: Defines the position of the current element in the tabbing order.
  103. title: Defines a tooltip for the element.
  104. style: The style of the component.
  105. key: A unique key for the component.
  106. id: The id for the component.
  107. class_name: The class name for the component.
  108. autofocus: Whether the component should take the focus once the page is loaded
  109. custom_attrs: custom attribute
  110. **props: The props of the component.
  111. Returns:
  112. The component.
  113. """
  114. ...
  115. class Col(BaseHTML):
  116. @overload
  117. @classmethod
  118. def create( # type: ignore
  119. cls,
  120. *children,
  121. align: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  122. span: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  123. access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  124. auto_capitalize: Optional[
  125. Union[Var[Union[bool, int, str]], str, int, bool]
  126. ] = None,
  127. content_editable: Optional[
  128. Union[Var[Union[bool, int, str]], str, int, bool]
  129. ] = None,
  130. context_menu: Optional[
  131. Union[Var[Union[bool, int, str]], str, int, bool]
  132. ] = None,
  133. dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  134. draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  135. enter_key_hint: Optional[
  136. Union[Var[Union[bool, int, str]], str, int, bool]
  137. ] = None,
  138. hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  139. input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  140. item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  141. lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  142. role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  143. slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  144. spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  145. tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  146. title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  147. style: Optional[Style] = None,
  148. key: Optional[Any] = None,
  149. id: Optional[Any] = None,
  150. class_name: Optional[Any] = None,
  151. autofocus: Optional[bool] = None,
  152. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  153. on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  154. on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  155. on_context_menu: Optional[
  156. Union[EventHandler, EventSpec, list, Callable, Var]
  157. ] = None,
  158. on_double_click: Optional[
  159. Union[EventHandler, EventSpec, list, Callable, Var]
  160. ] = None,
  161. on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  162. on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  163. on_mouse_down: Optional[
  164. Union[EventHandler, EventSpec, list, Callable, Var]
  165. ] = None,
  166. on_mouse_enter: Optional[
  167. Union[EventHandler, EventSpec, list, Callable, Var]
  168. ] = None,
  169. on_mouse_leave: Optional[
  170. Union[EventHandler, EventSpec, list, Callable, Var]
  171. ] = None,
  172. on_mouse_move: Optional[
  173. Union[EventHandler, EventSpec, list, Callable, Var]
  174. ] = None,
  175. on_mouse_out: Optional[
  176. Union[EventHandler, EventSpec, list, Callable, Var]
  177. ] = None,
  178. on_mouse_over: Optional[
  179. Union[EventHandler, EventSpec, list, Callable, Var]
  180. ] = None,
  181. on_mouse_up: Optional[
  182. Union[EventHandler, EventSpec, list, Callable, Var]
  183. ] = None,
  184. on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  185. on_unmount: Optional[
  186. Union[EventHandler, EventSpec, list, Callable, Var]
  187. ] = None,
  188. **props,
  189. ) -> "Col":
  190. """Create the component.
  191. Args:
  192. *children: The children of the component.
  193. align: Alignment of the content within the column
  194. span: Number of columns the col element spans
  195. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  196. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  197. content_editable: Indicates whether the element's content is editable.
  198. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  199. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  200. draggable: Defines whether the element can be dragged.
  201. enter_key_hint: Hints what media types the media element is able to play.
  202. hidden: Defines whether the element is hidden.
  203. input_mode: Defines the type of the element.
  204. item_prop: Defines the name of the element for metadata purposes.
  205. lang: Defines the language used in the element.
  206. role: Defines the role of the element.
  207. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  208. spell_check: Defines whether the element may be checked for spelling errors.
  209. tab_index: Defines the position of the current element in the tabbing order.
  210. title: Defines a tooltip for the element.
  211. style: The style of the component.
  212. key: A unique key for the component.
  213. id: The id for the component.
  214. class_name: The class name for the component.
  215. autofocus: Whether the component should take the focus once the page is loaded
  216. custom_attrs: custom attribute
  217. **props: The props of the component.
  218. Returns:
  219. The component.
  220. """
  221. ...
  222. class Colgroup(BaseHTML):
  223. @overload
  224. @classmethod
  225. def create( # type: ignore
  226. cls,
  227. *children,
  228. align: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  229. span: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  230. access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  231. auto_capitalize: Optional[
  232. Union[Var[Union[bool, int, str]], str, int, bool]
  233. ] = None,
  234. content_editable: Optional[
  235. Union[Var[Union[bool, int, str]], str, int, bool]
  236. ] = None,
  237. context_menu: Optional[
  238. Union[Var[Union[bool, int, str]], str, int, bool]
  239. ] = None,
  240. dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  241. draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  242. enter_key_hint: Optional[
  243. Union[Var[Union[bool, int, str]], str, int, bool]
  244. ] = None,
  245. hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  246. input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  247. item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  248. lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  249. role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  250. slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  251. spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  252. tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  253. title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  254. style: Optional[Style] = None,
  255. key: Optional[Any] = None,
  256. id: Optional[Any] = None,
  257. class_name: Optional[Any] = None,
  258. autofocus: Optional[bool] = None,
  259. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  260. on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  261. on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  262. on_context_menu: Optional[
  263. Union[EventHandler, EventSpec, list, Callable, Var]
  264. ] = None,
  265. on_double_click: Optional[
  266. Union[EventHandler, EventSpec, list, Callable, Var]
  267. ] = None,
  268. on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  269. on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  270. on_mouse_down: Optional[
  271. Union[EventHandler, EventSpec, list, Callable, Var]
  272. ] = None,
  273. on_mouse_enter: Optional[
  274. Union[EventHandler, EventSpec, list, Callable, Var]
  275. ] = None,
  276. on_mouse_leave: Optional[
  277. Union[EventHandler, EventSpec, list, Callable, Var]
  278. ] = None,
  279. on_mouse_move: Optional[
  280. Union[EventHandler, EventSpec, list, Callable, Var]
  281. ] = None,
  282. on_mouse_out: Optional[
  283. Union[EventHandler, EventSpec, list, Callable, Var]
  284. ] = None,
  285. on_mouse_over: Optional[
  286. Union[EventHandler, EventSpec, list, Callable, Var]
  287. ] = None,
  288. on_mouse_up: Optional[
  289. Union[EventHandler, EventSpec, list, Callable, Var]
  290. ] = None,
  291. on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  292. on_unmount: Optional[
  293. Union[EventHandler, EventSpec, list, Callable, Var]
  294. ] = None,
  295. **props,
  296. ) -> "Colgroup":
  297. """Create the component.
  298. Args:
  299. *children: The children of the component.
  300. align: Alignment of the content within the column group
  301. span: Number of columns the colgroup element spans
  302. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  303. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  304. content_editable: Indicates whether the element's content is editable.
  305. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  306. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  307. draggable: Defines whether the element can be dragged.
  308. enter_key_hint: Hints what media types the media element is able to play.
  309. hidden: Defines whether the element is hidden.
  310. input_mode: Defines the type of the element.
  311. item_prop: Defines the name of the element for metadata purposes.
  312. lang: Defines the language used in the element.
  313. role: Defines the role of the element.
  314. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  315. spell_check: Defines whether the element may be checked for spelling errors.
  316. tab_index: Defines the position of the current element in the tabbing order.
  317. title: Defines a tooltip for the element.
  318. style: The style of the component.
  319. key: A unique key for the component.
  320. id: The id for the component.
  321. class_name: The class name for the component.
  322. autofocus: Whether the component should take the focus once the page is loaded
  323. custom_attrs: custom attribute
  324. **props: The props of the component.
  325. Returns:
  326. The component.
  327. """
  328. ...
  329. class Table(BaseHTML):
  330. @overload
  331. @classmethod
  332. def create( # type: ignore
  333. cls,
  334. *children,
  335. align: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  336. summary: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  337. access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  338. auto_capitalize: Optional[
  339. Union[Var[Union[bool, int, str]], str, int, bool]
  340. ] = None,
  341. content_editable: Optional[
  342. Union[Var[Union[bool, int, str]], str, int, bool]
  343. ] = None,
  344. context_menu: Optional[
  345. Union[Var[Union[bool, int, str]], str, int, bool]
  346. ] = None,
  347. dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  348. draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  349. enter_key_hint: Optional[
  350. Union[Var[Union[bool, int, str]], str, int, bool]
  351. ] = None,
  352. hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  353. input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  354. item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  355. lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  356. role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  357. slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  358. spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  359. tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  360. title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  361. style: Optional[Style] = None,
  362. key: Optional[Any] = None,
  363. id: Optional[Any] = None,
  364. class_name: Optional[Any] = None,
  365. autofocus: Optional[bool] = None,
  366. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  367. on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  368. on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  369. on_context_menu: Optional[
  370. Union[EventHandler, EventSpec, list, Callable, Var]
  371. ] = None,
  372. on_double_click: Optional[
  373. Union[EventHandler, EventSpec, list, Callable, Var]
  374. ] = None,
  375. on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  376. on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  377. on_mouse_down: Optional[
  378. Union[EventHandler, EventSpec, list, Callable, Var]
  379. ] = None,
  380. on_mouse_enter: Optional[
  381. Union[EventHandler, EventSpec, list, Callable, Var]
  382. ] = None,
  383. on_mouse_leave: Optional[
  384. Union[EventHandler, EventSpec, list, Callable, Var]
  385. ] = None,
  386. on_mouse_move: Optional[
  387. Union[EventHandler, EventSpec, list, Callable, Var]
  388. ] = None,
  389. on_mouse_out: Optional[
  390. Union[EventHandler, EventSpec, list, Callable, Var]
  391. ] = None,
  392. on_mouse_over: Optional[
  393. Union[EventHandler, EventSpec, list, Callable, Var]
  394. ] = None,
  395. on_mouse_up: Optional[
  396. Union[EventHandler, EventSpec, list, Callable, Var]
  397. ] = None,
  398. on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  399. on_unmount: Optional[
  400. Union[EventHandler, EventSpec, list, Callable, Var]
  401. ] = None,
  402. **props,
  403. ) -> "Table":
  404. """Create the component.
  405. Args:
  406. *children: The children of the component.
  407. align: Alignment of the table
  408. summary: Provides a summary of the table's purpose and structure
  409. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  410. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  411. content_editable: Indicates whether the element's content is editable.
  412. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  413. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  414. draggable: Defines whether the element can be dragged.
  415. enter_key_hint: Hints what media types the media element is able to play.
  416. hidden: Defines whether the element is hidden.
  417. input_mode: Defines the type of the element.
  418. item_prop: Defines the name of the element for metadata purposes.
  419. lang: Defines the language used in the element.
  420. role: Defines the role of the element.
  421. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  422. spell_check: Defines whether the element may be checked for spelling errors.
  423. tab_index: Defines the position of the current element in the tabbing order.
  424. title: Defines a tooltip for the element.
  425. style: The style of the component.
  426. key: A unique key for the component.
  427. id: The id for the component.
  428. class_name: The class name for the component.
  429. autofocus: Whether the component should take the focus once the page is loaded
  430. custom_attrs: custom attribute
  431. **props: The props of the component.
  432. Returns:
  433. The component.
  434. """
  435. ...
  436. class Tbody(BaseHTML):
  437. @overload
  438. @classmethod
  439. def create( # type: ignore
  440. cls,
  441. *children,
  442. align: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  443. access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  444. auto_capitalize: Optional[
  445. Union[Var[Union[bool, int, str]], str, int, bool]
  446. ] = None,
  447. content_editable: Optional[
  448. Union[Var[Union[bool, int, str]], str, int, bool]
  449. ] = None,
  450. context_menu: Optional[
  451. Union[Var[Union[bool, int, str]], str, int, bool]
  452. ] = None,
  453. dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  454. draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  455. enter_key_hint: Optional[
  456. Union[Var[Union[bool, int, str]], str, int, bool]
  457. ] = None,
  458. hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  459. input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  460. item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  461. lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  462. role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  463. slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  464. spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  465. tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  466. title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  467. style: Optional[Style] = None,
  468. key: Optional[Any] = None,
  469. id: Optional[Any] = None,
  470. class_name: Optional[Any] = None,
  471. autofocus: Optional[bool] = None,
  472. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  473. on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  474. on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  475. on_context_menu: Optional[
  476. Union[EventHandler, EventSpec, list, Callable, Var]
  477. ] = None,
  478. on_double_click: Optional[
  479. Union[EventHandler, EventSpec, list, Callable, Var]
  480. ] = None,
  481. on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  482. on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  483. on_mouse_down: Optional[
  484. Union[EventHandler, EventSpec, list, Callable, Var]
  485. ] = None,
  486. on_mouse_enter: Optional[
  487. Union[EventHandler, EventSpec, list, Callable, Var]
  488. ] = None,
  489. on_mouse_leave: Optional[
  490. Union[EventHandler, EventSpec, list, Callable, Var]
  491. ] = None,
  492. on_mouse_move: Optional[
  493. Union[EventHandler, EventSpec, list, Callable, Var]
  494. ] = None,
  495. on_mouse_out: Optional[
  496. Union[EventHandler, EventSpec, list, Callable, Var]
  497. ] = None,
  498. on_mouse_over: Optional[
  499. Union[EventHandler, EventSpec, list, Callable, Var]
  500. ] = None,
  501. on_mouse_up: Optional[
  502. Union[EventHandler, EventSpec, list, Callable, Var]
  503. ] = None,
  504. on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  505. on_unmount: Optional[
  506. Union[EventHandler, EventSpec, list, Callable, Var]
  507. ] = None,
  508. **props,
  509. ) -> "Tbody":
  510. """Create the component.
  511. Args:
  512. *children: The children of the component.
  513. align: Alignment of the content within the table body
  514. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  515. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  516. content_editable: Indicates whether the element's content is editable.
  517. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  518. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  519. draggable: Defines whether the element can be dragged.
  520. enter_key_hint: Hints what media types the media element is able to play.
  521. hidden: Defines whether the element is hidden.
  522. input_mode: Defines the type of the element.
  523. item_prop: Defines the name of the element for metadata purposes.
  524. lang: Defines the language used in the element.
  525. role: Defines the role of the element.
  526. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  527. spell_check: Defines whether the element may be checked for spelling errors.
  528. tab_index: Defines the position of the current element in the tabbing order.
  529. title: Defines a tooltip for the element.
  530. style: The style of the component.
  531. key: A unique key for the component.
  532. id: The id for the component.
  533. class_name: The class name for the component.
  534. autofocus: Whether the component should take the focus once the page is loaded
  535. custom_attrs: custom attribute
  536. **props: The props of the component.
  537. Returns:
  538. The component.
  539. """
  540. ...
  541. class Td(BaseHTML):
  542. @overload
  543. @classmethod
  544. def create( # type: ignore
  545. cls,
  546. *children,
  547. align: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  548. col_span: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  549. headers: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  550. row_span: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  551. access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  552. auto_capitalize: Optional[
  553. Union[Var[Union[bool, int, str]], str, int, bool]
  554. ] = None,
  555. content_editable: Optional[
  556. Union[Var[Union[bool, int, str]], str, int, bool]
  557. ] = None,
  558. context_menu: Optional[
  559. Union[Var[Union[bool, int, str]], str, int, bool]
  560. ] = None,
  561. dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  562. draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  563. enter_key_hint: Optional[
  564. Union[Var[Union[bool, int, str]], str, int, bool]
  565. ] = None,
  566. hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  567. input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  568. item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  569. lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  570. role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  571. slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  572. spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  573. tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  574. title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  575. style: Optional[Style] = None,
  576. key: Optional[Any] = None,
  577. id: Optional[Any] = None,
  578. class_name: Optional[Any] = None,
  579. autofocus: Optional[bool] = None,
  580. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  581. on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  582. on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  583. on_context_menu: Optional[
  584. Union[EventHandler, EventSpec, list, Callable, Var]
  585. ] = None,
  586. on_double_click: Optional[
  587. Union[EventHandler, EventSpec, list, Callable, Var]
  588. ] = None,
  589. on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  590. on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  591. on_mouse_down: Optional[
  592. Union[EventHandler, EventSpec, list, Callable, Var]
  593. ] = None,
  594. on_mouse_enter: Optional[
  595. Union[EventHandler, EventSpec, list, Callable, Var]
  596. ] = None,
  597. on_mouse_leave: Optional[
  598. Union[EventHandler, EventSpec, list, Callable, Var]
  599. ] = None,
  600. on_mouse_move: Optional[
  601. Union[EventHandler, EventSpec, list, Callable, Var]
  602. ] = None,
  603. on_mouse_out: Optional[
  604. Union[EventHandler, EventSpec, list, Callable, Var]
  605. ] = None,
  606. on_mouse_over: Optional[
  607. Union[EventHandler, EventSpec, list, Callable, Var]
  608. ] = None,
  609. on_mouse_up: Optional[
  610. Union[EventHandler, EventSpec, list, Callable, Var]
  611. ] = None,
  612. on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  613. on_unmount: Optional[
  614. Union[EventHandler, EventSpec, list, Callable, Var]
  615. ] = None,
  616. **props,
  617. ) -> "Td":
  618. """Create the component.
  619. Args:
  620. *children: The children of the component.
  621. align: Alignment of the content within the table cell
  622. col_span: Number of columns a cell should span
  623. headers: IDs of the headers associated with this cell
  624. row_span: Number of rows a cell should span
  625. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  626. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  627. content_editable: Indicates whether the element's content is editable.
  628. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  629. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  630. draggable: Defines whether the element can be dragged.
  631. enter_key_hint: Hints what media types the media element is able to play.
  632. hidden: Defines whether the element is hidden.
  633. input_mode: Defines the type of the element.
  634. item_prop: Defines the name of the element for metadata purposes.
  635. lang: Defines the language used in the element.
  636. role: Defines the role of the element.
  637. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  638. spell_check: Defines whether the element may be checked for spelling errors.
  639. tab_index: Defines the position of the current element in the tabbing order.
  640. title: Defines a tooltip for the element.
  641. style: The style of the component.
  642. key: A unique key for the component.
  643. id: The id for the component.
  644. class_name: The class name for the component.
  645. autofocus: Whether the component should take the focus once the page is loaded
  646. custom_attrs: custom attribute
  647. **props: The props of the component.
  648. Returns:
  649. The component.
  650. """
  651. ...
  652. class Tfoot(BaseHTML):
  653. @overload
  654. @classmethod
  655. def create( # type: ignore
  656. cls,
  657. *children,
  658. align: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  659. access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  660. auto_capitalize: Optional[
  661. Union[Var[Union[bool, int, str]], str, int, bool]
  662. ] = None,
  663. content_editable: Optional[
  664. Union[Var[Union[bool, int, str]], str, int, bool]
  665. ] = None,
  666. context_menu: Optional[
  667. Union[Var[Union[bool, int, str]], str, int, bool]
  668. ] = None,
  669. dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  670. draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  671. enter_key_hint: Optional[
  672. Union[Var[Union[bool, int, str]], str, int, bool]
  673. ] = None,
  674. hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  675. input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  676. item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  677. lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  678. role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  679. slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  680. spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  681. tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  682. title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  683. style: Optional[Style] = None,
  684. key: Optional[Any] = None,
  685. id: Optional[Any] = None,
  686. class_name: Optional[Any] = None,
  687. autofocus: Optional[bool] = None,
  688. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  689. on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  690. on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  691. on_context_menu: Optional[
  692. Union[EventHandler, EventSpec, list, Callable, Var]
  693. ] = None,
  694. on_double_click: Optional[
  695. Union[EventHandler, EventSpec, list, Callable, Var]
  696. ] = None,
  697. on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  698. on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  699. on_mouse_down: Optional[
  700. Union[EventHandler, EventSpec, list, Callable, Var]
  701. ] = None,
  702. on_mouse_enter: Optional[
  703. Union[EventHandler, EventSpec, list, Callable, Var]
  704. ] = None,
  705. on_mouse_leave: Optional[
  706. Union[EventHandler, EventSpec, list, Callable, Var]
  707. ] = None,
  708. on_mouse_move: Optional[
  709. Union[EventHandler, EventSpec, list, Callable, Var]
  710. ] = None,
  711. on_mouse_out: Optional[
  712. Union[EventHandler, EventSpec, list, Callable, Var]
  713. ] = None,
  714. on_mouse_over: Optional[
  715. Union[EventHandler, EventSpec, list, Callable, Var]
  716. ] = None,
  717. on_mouse_up: Optional[
  718. Union[EventHandler, EventSpec, list, Callable, Var]
  719. ] = None,
  720. on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  721. on_unmount: Optional[
  722. Union[EventHandler, EventSpec, list, Callable, Var]
  723. ] = None,
  724. **props,
  725. ) -> "Tfoot":
  726. """Create the component.
  727. Args:
  728. *children: The children of the component.
  729. align: Alignment of the content within the table footer
  730. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  731. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  732. content_editable: Indicates whether the element's content is editable.
  733. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  734. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  735. draggable: Defines whether the element can be dragged.
  736. enter_key_hint: Hints what media types the media element is able to play.
  737. hidden: Defines whether the element is hidden.
  738. input_mode: Defines the type of the element.
  739. item_prop: Defines the name of the element for metadata purposes.
  740. lang: Defines the language used in the element.
  741. role: Defines the role of the element.
  742. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  743. spell_check: Defines whether the element may be checked for spelling errors.
  744. tab_index: Defines the position of the current element in the tabbing order.
  745. title: Defines a tooltip for the element.
  746. style: The style of the component.
  747. key: A unique key for the component.
  748. id: The id for the component.
  749. class_name: The class name for the component.
  750. autofocus: Whether the component should take the focus once the page is loaded
  751. custom_attrs: custom attribute
  752. **props: The props of the component.
  753. Returns:
  754. The component.
  755. """
  756. ...
  757. class Th(BaseHTML):
  758. @overload
  759. @classmethod
  760. def create( # type: ignore
  761. cls,
  762. *children,
  763. align: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  764. col_span: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  765. headers: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  766. row_span: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  767. scope: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  768. access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  769. auto_capitalize: Optional[
  770. Union[Var[Union[bool, int, str]], str, int, bool]
  771. ] = None,
  772. content_editable: Optional[
  773. Union[Var[Union[bool, int, str]], str, int, bool]
  774. ] = None,
  775. context_menu: Optional[
  776. Union[Var[Union[bool, int, str]], str, int, bool]
  777. ] = None,
  778. dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  779. draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  780. enter_key_hint: Optional[
  781. Union[Var[Union[bool, int, str]], str, int, bool]
  782. ] = None,
  783. hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  784. input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  785. item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  786. lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  787. role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  788. slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  789. spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  790. tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  791. title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  792. style: Optional[Style] = None,
  793. key: Optional[Any] = None,
  794. id: Optional[Any] = None,
  795. class_name: Optional[Any] = None,
  796. autofocus: Optional[bool] = None,
  797. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  798. on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  799. on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  800. on_context_menu: Optional[
  801. Union[EventHandler, EventSpec, list, Callable, Var]
  802. ] = None,
  803. on_double_click: Optional[
  804. Union[EventHandler, EventSpec, list, Callable, Var]
  805. ] = None,
  806. on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  807. on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  808. on_mouse_down: Optional[
  809. Union[EventHandler, EventSpec, list, Callable, Var]
  810. ] = None,
  811. on_mouse_enter: Optional[
  812. Union[EventHandler, EventSpec, list, Callable, Var]
  813. ] = None,
  814. on_mouse_leave: Optional[
  815. Union[EventHandler, EventSpec, list, Callable, Var]
  816. ] = None,
  817. on_mouse_move: Optional[
  818. Union[EventHandler, EventSpec, list, Callable, Var]
  819. ] = None,
  820. on_mouse_out: Optional[
  821. Union[EventHandler, EventSpec, list, Callable, Var]
  822. ] = None,
  823. on_mouse_over: Optional[
  824. Union[EventHandler, EventSpec, list, Callable, Var]
  825. ] = None,
  826. on_mouse_up: Optional[
  827. Union[EventHandler, EventSpec, list, Callable, Var]
  828. ] = None,
  829. on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  830. on_unmount: Optional[
  831. Union[EventHandler, EventSpec, list, Callable, Var]
  832. ] = None,
  833. **props,
  834. ) -> "Th":
  835. """Create the component.
  836. Args:
  837. *children: The children of the component.
  838. align: Alignment of the content within the table header cell
  839. col_span: Number of columns a header cell should span
  840. headers: IDs of the headers associated with this header cell
  841. row_span: Number of rows a header cell should span
  842. scope: Scope of the header cell (row, col, rowgroup, colgroup)
  843. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  844. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  845. content_editable: Indicates whether the element's content is editable.
  846. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  847. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  848. draggable: Defines whether the element can be dragged.
  849. enter_key_hint: Hints what media types the media element is able to play.
  850. hidden: Defines whether the element is hidden.
  851. input_mode: Defines the type of the element.
  852. item_prop: Defines the name of the element for metadata purposes.
  853. lang: Defines the language used in the element.
  854. role: Defines the role of the element.
  855. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  856. spell_check: Defines whether the element may be checked for spelling errors.
  857. tab_index: Defines the position of the current element in the tabbing order.
  858. title: Defines a tooltip for the element.
  859. style: The style of the component.
  860. key: A unique key for the component.
  861. id: The id for the component.
  862. class_name: The class name for the component.
  863. autofocus: Whether the component should take the focus once the page is loaded
  864. custom_attrs: custom attribute
  865. **props: The props of the component.
  866. Returns:
  867. The component.
  868. """
  869. ...
  870. class Thead(BaseHTML):
  871. @overload
  872. @classmethod
  873. def create( # type: ignore
  874. cls,
  875. *children,
  876. align: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  877. access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  878. auto_capitalize: Optional[
  879. Union[Var[Union[bool, int, str]], str, int, bool]
  880. ] = None,
  881. content_editable: Optional[
  882. Union[Var[Union[bool, int, str]], str, int, bool]
  883. ] = None,
  884. context_menu: Optional[
  885. Union[Var[Union[bool, int, str]], str, int, bool]
  886. ] = None,
  887. dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  888. draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  889. enter_key_hint: Optional[
  890. Union[Var[Union[bool, int, str]], str, int, bool]
  891. ] = None,
  892. hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  893. input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  894. item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  895. lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  896. role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  897. slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  898. spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  899. tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  900. title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  901. style: Optional[Style] = None,
  902. key: Optional[Any] = None,
  903. id: Optional[Any] = None,
  904. class_name: Optional[Any] = None,
  905. autofocus: Optional[bool] = None,
  906. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  907. on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  908. on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  909. on_context_menu: Optional[
  910. Union[EventHandler, EventSpec, list, Callable, Var]
  911. ] = None,
  912. on_double_click: Optional[
  913. Union[EventHandler, EventSpec, list, Callable, Var]
  914. ] = None,
  915. on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  916. on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  917. on_mouse_down: Optional[
  918. Union[EventHandler, EventSpec, list, Callable, Var]
  919. ] = None,
  920. on_mouse_enter: Optional[
  921. Union[EventHandler, EventSpec, list, Callable, Var]
  922. ] = None,
  923. on_mouse_leave: Optional[
  924. Union[EventHandler, EventSpec, list, Callable, Var]
  925. ] = None,
  926. on_mouse_move: Optional[
  927. Union[EventHandler, EventSpec, list, Callable, Var]
  928. ] = None,
  929. on_mouse_out: Optional[
  930. Union[EventHandler, EventSpec, list, Callable, Var]
  931. ] = None,
  932. on_mouse_over: Optional[
  933. Union[EventHandler, EventSpec, list, Callable, Var]
  934. ] = None,
  935. on_mouse_up: Optional[
  936. Union[EventHandler, EventSpec, list, Callable, Var]
  937. ] = None,
  938. on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  939. on_unmount: Optional[
  940. Union[EventHandler, EventSpec, list, Callable, Var]
  941. ] = None,
  942. **props,
  943. ) -> "Thead":
  944. """Create the component.
  945. Args:
  946. *children: The children of the component.
  947. align: Alignment of the content within the table header
  948. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  949. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  950. content_editable: Indicates whether the element's content is editable.
  951. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  952. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  953. draggable: Defines whether the element can be dragged.
  954. enter_key_hint: Hints what media types the media element is able to play.
  955. hidden: Defines whether the element is hidden.
  956. input_mode: Defines the type of the element.
  957. item_prop: Defines the name of the element for metadata purposes.
  958. lang: Defines the language used in the element.
  959. role: Defines the role of the element.
  960. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  961. spell_check: Defines whether the element may be checked for spelling errors.
  962. tab_index: Defines the position of the current element in the tabbing order.
  963. title: Defines a tooltip for the element.
  964. style: The style of the component.
  965. key: A unique key for the component.
  966. id: The id for the component.
  967. class_name: The class name for the component.
  968. autofocus: Whether the component should take the focus once the page is loaded
  969. custom_attrs: custom attribute
  970. **props: The props of the component.
  971. Returns:
  972. The component.
  973. """
  974. ...
  975. class Tr(BaseHTML):
  976. @overload
  977. @classmethod
  978. def create( # type: ignore
  979. cls,
  980. *children,
  981. align: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  982. access_key: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  983. auto_capitalize: Optional[
  984. Union[Var[Union[bool, int, str]], str, int, bool]
  985. ] = None,
  986. content_editable: Optional[
  987. Union[Var[Union[bool, int, str]], str, int, bool]
  988. ] = None,
  989. context_menu: Optional[
  990. Union[Var[Union[bool, int, str]], str, int, bool]
  991. ] = None,
  992. dir: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  993. draggable: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  994. enter_key_hint: Optional[
  995. Union[Var[Union[bool, int, str]], str, int, bool]
  996. ] = None,
  997. hidden: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  998. input_mode: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  999. item_prop: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  1000. lang: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  1001. role: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  1002. slot: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  1003. spell_check: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  1004. tab_index: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  1005. title: Optional[Union[Var[Union[bool, int, str]], str, int, bool]] = None,
  1006. style: Optional[Style] = None,
  1007. key: Optional[Any] = None,
  1008. id: Optional[Any] = None,
  1009. class_name: Optional[Any] = None,
  1010. autofocus: Optional[bool] = None,
  1011. custom_attrs: Optional[Dict[str, Union[Var, str]]] = None,
  1012. on_blur: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  1013. on_click: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  1014. on_context_menu: Optional[
  1015. Union[EventHandler, EventSpec, list, Callable, Var]
  1016. ] = None,
  1017. on_double_click: Optional[
  1018. Union[EventHandler, EventSpec, list, Callable, Var]
  1019. ] = None,
  1020. on_focus: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  1021. on_mount: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  1022. on_mouse_down: Optional[
  1023. Union[EventHandler, EventSpec, list, Callable, Var]
  1024. ] = None,
  1025. on_mouse_enter: Optional[
  1026. Union[EventHandler, EventSpec, list, Callable, Var]
  1027. ] = None,
  1028. on_mouse_leave: Optional[
  1029. Union[EventHandler, EventSpec, list, Callable, Var]
  1030. ] = None,
  1031. on_mouse_move: Optional[
  1032. Union[EventHandler, EventSpec, list, Callable, Var]
  1033. ] = None,
  1034. on_mouse_out: Optional[
  1035. Union[EventHandler, EventSpec, list, Callable, Var]
  1036. ] = None,
  1037. on_mouse_over: Optional[
  1038. Union[EventHandler, EventSpec, list, Callable, Var]
  1039. ] = None,
  1040. on_mouse_up: Optional[
  1041. Union[EventHandler, EventSpec, list, Callable, Var]
  1042. ] = None,
  1043. on_scroll: Optional[Union[EventHandler, EventSpec, list, Callable, Var]] = None,
  1044. on_unmount: Optional[
  1045. Union[EventHandler, EventSpec, list, Callable, Var]
  1046. ] = None,
  1047. **props,
  1048. ) -> "Tr":
  1049. """Create the component.
  1050. Args:
  1051. *children: The children of the component.
  1052. align: Alignment of the content within the table row
  1053. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  1054. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  1055. content_editable: Indicates whether the element's content is editable.
  1056. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  1057. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  1058. draggable: Defines whether the element can be dragged.
  1059. enter_key_hint: Hints what media types the media element is able to play.
  1060. hidden: Defines whether the element is hidden.
  1061. input_mode: Defines the type of the element.
  1062. item_prop: Defines the name of the element for metadata purposes.
  1063. lang: Defines the language used in the element.
  1064. role: Defines the role of the element.
  1065. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  1066. spell_check: Defines whether the element may be checked for spelling errors.
  1067. tab_index: Defines the position of the current element in the tabbing order.
  1068. title: Defines a tooltip for the element.
  1069. style: The style of the component.
  1070. key: A unique key for the component.
  1071. id: The id for the component.
  1072. class_name: The class name for the component.
  1073. autofocus: Whether the component should take the focus once the page is loaded
  1074. custom_attrs: custom attribute
  1075. **props: The props of the component.
  1076. Returns:
  1077. The component.
  1078. """
  1079. ...
  1080. caption = Caption.create
  1081. col = Col.create
  1082. colgroup = Colgroup.create
  1083. table = Table.create
  1084. tbody = Tbody.create
  1085. td = Td.create
  1086. tfoot = Tfoot.create
  1087. th = Th.create
  1088. thead = Thead.create
  1089. tr = Tr.create