tables.pyi 58 KB

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