banner.pyi 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725
  1. """Stub file for reflex/components/core/banner.py"""
  2. # ------------------- DO NOT EDIT ----------------------
  3. # This file was generated by `reflex/utils/pyi_generator.py`!
  4. # ------------------------------------------------------
  5. from typing import Any, Literal, Mapping, Optional, Sequence, overload
  6. from reflex.components.base.fragment import Fragment
  7. from reflex.components.component import Component
  8. from reflex.components.core.breakpoints import Breakpoints
  9. from reflex.components.el.elements.typography import Div
  10. from reflex.components.lucide.icon import Icon
  11. from reflex.constants.compiler import CompileVars
  12. from reflex.event import EventType
  13. from reflex.utils.imports import ImportVar
  14. from reflex.vars import VarData
  15. from reflex.vars.base import Var
  16. from reflex.vars.number import BooleanVar
  17. connect_error_var_data: VarData
  18. connect_errors = Var(
  19. _js_expr=CompileVars.CONNECT_ERROR, _var_data=connect_error_var_data
  20. )
  21. connection_error = Var(
  22. _js_expr="((connectErrors.length > 0) ? connectErrors[connectErrors.length - 1].message : '')",
  23. _var_data=connect_error_var_data,
  24. )
  25. connection_errors_count = Var(
  26. _js_expr="connectErrors.length", _var_data=connect_error_var_data
  27. )
  28. has_connection_errors = Var(
  29. _js_expr="(connectErrors.length > 0)", _var_data=connect_error_var_data
  30. ).to(BooleanVar)
  31. has_too_many_connection_errors = Var(
  32. _js_expr="(connectErrors.length >= 2)", _var_data=connect_error_var_data
  33. ).to(BooleanVar)
  34. class WebsocketTargetURL(Var):
  35. @classmethod
  36. def create(cls) -> Var: ... # type: ignore
  37. def default_connection_error() -> list[str | Var | Component]: ...
  38. class ConnectionToaster(Fragment):
  39. def add_hooks(self) -> list[str | Var]: ...
  40. @overload
  41. @classmethod
  42. def create( # type: ignore
  43. cls,
  44. *children,
  45. style: Sequence[Mapping[str, Any]]
  46. | Mapping[str, Any]
  47. | Var[Mapping[str, Any]]
  48. | Breakpoints
  49. | None = None,
  50. key: Any | None = None,
  51. id: Any | None = None,
  52. class_name: Any | None = None,
  53. autofocus: bool | None = None,
  54. custom_attrs: dict[str, Var | Any] | None = None,
  55. on_blur: Optional[EventType[()]] = None,
  56. on_click: Optional[EventType[()]] = None,
  57. on_context_menu: Optional[EventType[()]] = None,
  58. on_double_click: Optional[EventType[()]] = None,
  59. on_focus: Optional[EventType[()]] = None,
  60. on_mount: Optional[EventType[()]] = None,
  61. on_mouse_down: Optional[EventType[()]] = None,
  62. on_mouse_enter: Optional[EventType[()]] = None,
  63. on_mouse_leave: Optional[EventType[()]] = None,
  64. on_mouse_move: Optional[EventType[()]] = None,
  65. on_mouse_out: Optional[EventType[()]] = None,
  66. on_mouse_over: Optional[EventType[()]] = None,
  67. on_mouse_up: Optional[EventType[()]] = None,
  68. on_scroll: Optional[EventType[()]] = None,
  69. on_unmount: Optional[EventType[()]] = None,
  70. **props,
  71. ) -> "ConnectionToaster":
  72. """Create a connection toaster component.
  73. Args:
  74. *children: The children of the component.
  75. style: The style of the component.
  76. key: A unique key for the component.
  77. id: The id for the component.
  78. class_name: The class name for the component.
  79. autofocus: Whether the component should take the focus once the page is loaded
  80. custom_attrs: custom attribute
  81. **props: The properties of the component.
  82. Returns:
  83. The connection toaster component.
  84. """
  85. ...
  86. class ConnectionBanner(Component):
  87. @overload
  88. @classmethod
  89. def create( # type: ignore
  90. cls,
  91. *children,
  92. style: Sequence[Mapping[str, Any]]
  93. | Mapping[str, Any]
  94. | Var[Mapping[str, Any]]
  95. | Breakpoints
  96. | None = None,
  97. key: Any | None = None,
  98. id: Any | None = None,
  99. class_name: Any | None = None,
  100. autofocus: bool | None = None,
  101. custom_attrs: dict[str, Var | Any] | None = None,
  102. on_blur: Optional[EventType[()]] = None,
  103. on_click: Optional[EventType[()]] = None,
  104. on_context_menu: Optional[EventType[()]] = None,
  105. on_double_click: Optional[EventType[()]] = None,
  106. on_focus: Optional[EventType[()]] = None,
  107. on_mount: Optional[EventType[()]] = None,
  108. on_mouse_down: Optional[EventType[()]] = None,
  109. on_mouse_enter: Optional[EventType[()]] = None,
  110. on_mouse_leave: Optional[EventType[()]] = None,
  111. on_mouse_move: Optional[EventType[()]] = None,
  112. on_mouse_out: Optional[EventType[()]] = None,
  113. on_mouse_over: Optional[EventType[()]] = None,
  114. on_mouse_up: Optional[EventType[()]] = None,
  115. on_scroll: Optional[EventType[()]] = None,
  116. on_unmount: Optional[EventType[()]] = None,
  117. **props,
  118. ) -> "ConnectionBanner":
  119. """Create a connection banner component.
  120. Args:
  121. comp: The component to render when there's a server connection error.
  122. Returns:
  123. The connection banner component.
  124. """
  125. ...
  126. class ConnectionModal(Component):
  127. @overload
  128. @classmethod
  129. def create( # type: ignore
  130. cls,
  131. *children,
  132. style: Sequence[Mapping[str, Any]]
  133. | Mapping[str, Any]
  134. | Var[Mapping[str, Any]]
  135. | Breakpoints
  136. | None = None,
  137. key: Any | None = None,
  138. id: Any | None = None,
  139. class_name: Any | None = None,
  140. autofocus: bool | None = None,
  141. custom_attrs: dict[str, Var | Any] | None = None,
  142. on_blur: Optional[EventType[()]] = None,
  143. on_click: Optional[EventType[()]] = None,
  144. on_context_menu: Optional[EventType[()]] = None,
  145. on_double_click: Optional[EventType[()]] = None,
  146. on_focus: Optional[EventType[()]] = None,
  147. on_mount: Optional[EventType[()]] = None,
  148. on_mouse_down: Optional[EventType[()]] = None,
  149. on_mouse_enter: Optional[EventType[()]] = None,
  150. on_mouse_leave: Optional[EventType[()]] = None,
  151. on_mouse_move: Optional[EventType[()]] = None,
  152. on_mouse_out: Optional[EventType[()]] = None,
  153. on_mouse_over: Optional[EventType[()]] = None,
  154. on_mouse_up: Optional[EventType[()]] = None,
  155. on_scroll: Optional[EventType[()]] = None,
  156. on_unmount: Optional[EventType[()]] = None,
  157. **props,
  158. ) -> "ConnectionModal":
  159. """Create a connection banner component.
  160. Args:
  161. comp: The component to render when there's a server connection error.
  162. Returns:
  163. The connection banner component.
  164. """
  165. ...
  166. class WifiOffPulse(Icon):
  167. @overload
  168. @classmethod
  169. def create( # type: ignore
  170. cls,
  171. *children,
  172. size: Var[int] | int | None = None,
  173. style: Sequence[Mapping[str, Any]]
  174. | Mapping[str, Any]
  175. | Var[Mapping[str, Any]]
  176. | Breakpoints
  177. | None = None,
  178. key: Any | None = None,
  179. id: Any | None = None,
  180. class_name: Any | None = None,
  181. autofocus: bool | None = None,
  182. custom_attrs: dict[str, Var | Any] | None = None,
  183. on_blur: Optional[EventType[()]] = None,
  184. on_click: Optional[EventType[()]] = None,
  185. on_context_menu: Optional[EventType[()]] = None,
  186. on_double_click: Optional[EventType[()]] = None,
  187. on_focus: Optional[EventType[()]] = None,
  188. on_mount: Optional[EventType[()]] = None,
  189. on_mouse_down: Optional[EventType[()]] = None,
  190. on_mouse_enter: Optional[EventType[()]] = None,
  191. on_mouse_leave: Optional[EventType[()]] = None,
  192. on_mouse_move: Optional[EventType[()]] = None,
  193. on_mouse_out: Optional[EventType[()]] = None,
  194. on_mouse_over: Optional[EventType[()]] = None,
  195. on_mouse_up: Optional[EventType[()]] = None,
  196. on_scroll: Optional[EventType[()]] = None,
  197. on_unmount: Optional[EventType[()]] = None,
  198. **props,
  199. ) -> "WifiOffPulse":
  200. """Create a wifi_off icon with an animated opacity pulse.
  201. Args:
  202. *children: The children of the component.
  203. size: The size of the icon in pixels.
  204. style: The style of the component.
  205. key: A unique key for the component.
  206. id: The id for the component.
  207. class_name: The class name for the component.
  208. autofocus: Whether the component should take the focus once the page is loaded
  209. custom_attrs: custom attribute
  210. **props: The properties of the component.
  211. Returns:
  212. The icon component with default props applied.
  213. """
  214. ...
  215. def add_imports(self) -> dict[str, str | ImportVar | list[str | ImportVar]]: ...
  216. class ConnectionPulser(Div):
  217. @overload
  218. @classmethod
  219. def create( # type: ignore
  220. cls,
  221. *children,
  222. access_key: Var[str] | str | None = None,
  223. auto_capitalize: Literal[
  224. "characters", "none", "off", "on", "sentences", "words"
  225. ]
  226. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  227. | None = None,
  228. content_editable: Literal["inherit", "plaintext-only", False, True]
  229. | Var[Literal["inherit", "plaintext-only", False, True]]
  230. | None = None,
  231. context_menu: Var[str] | str | None = None,
  232. dir: Var[str] | str | None = None,
  233. draggable: Var[bool] | bool | None = None,
  234. enter_key_hint: Literal[
  235. "done", "enter", "go", "next", "previous", "search", "send"
  236. ]
  237. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  238. | None = None,
  239. hidden: Var[bool] | bool | None = None,
  240. input_mode: Literal[
  241. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  242. ]
  243. | Var[
  244. Literal[
  245. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  246. ]
  247. ]
  248. | None = None,
  249. item_prop: Var[str] | str | None = None,
  250. lang: Var[str] | str | None = None,
  251. role: Literal[
  252. "alert",
  253. "alertdialog",
  254. "application",
  255. "article",
  256. "banner",
  257. "button",
  258. "cell",
  259. "checkbox",
  260. "columnheader",
  261. "combobox",
  262. "complementary",
  263. "contentinfo",
  264. "definition",
  265. "dialog",
  266. "directory",
  267. "document",
  268. "feed",
  269. "figure",
  270. "form",
  271. "grid",
  272. "gridcell",
  273. "group",
  274. "heading",
  275. "img",
  276. "link",
  277. "list",
  278. "listbox",
  279. "listitem",
  280. "log",
  281. "main",
  282. "marquee",
  283. "math",
  284. "menu",
  285. "menubar",
  286. "menuitem",
  287. "menuitemcheckbox",
  288. "menuitemradio",
  289. "navigation",
  290. "none",
  291. "note",
  292. "option",
  293. "presentation",
  294. "progressbar",
  295. "radio",
  296. "radiogroup",
  297. "region",
  298. "row",
  299. "rowgroup",
  300. "rowheader",
  301. "scrollbar",
  302. "search",
  303. "searchbox",
  304. "separator",
  305. "slider",
  306. "spinbutton",
  307. "status",
  308. "switch",
  309. "tab",
  310. "table",
  311. "tablist",
  312. "tabpanel",
  313. "term",
  314. "textbox",
  315. "timer",
  316. "toolbar",
  317. "tooltip",
  318. "tree",
  319. "treegrid",
  320. "treeitem",
  321. ]
  322. | Var[
  323. Literal[
  324. "alert",
  325. "alertdialog",
  326. "application",
  327. "article",
  328. "banner",
  329. "button",
  330. "cell",
  331. "checkbox",
  332. "columnheader",
  333. "combobox",
  334. "complementary",
  335. "contentinfo",
  336. "definition",
  337. "dialog",
  338. "directory",
  339. "document",
  340. "feed",
  341. "figure",
  342. "form",
  343. "grid",
  344. "gridcell",
  345. "group",
  346. "heading",
  347. "img",
  348. "link",
  349. "list",
  350. "listbox",
  351. "listitem",
  352. "log",
  353. "main",
  354. "marquee",
  355. "math",
  356. "menu",
  357. "menubar",
  358. "menuitem",
  359. "menuitemcheckbox",
  360. "menuitemradio",
  361. "navigation",
  362. "none",
  363. "note",
  364. "option",
  365. "presentation",
  366. "progressbar",
  367. "radio",
  368. "radiogroup",
  369. "region",
  370. "row",
  371. "rowgroup",
  372. "rowheader",
  373. "scrollbar",
  374. "search",
  375. "searchbox",
  376. "separator",
  377. "slider",
  378. "spinbutton",
  379. "status",
  380. "switch",
  381. "tab",
  382. "table",
  383. "tablist",
  384. "tabpanel",
  385. "term",
  386. "textbox",
  387. "timer",
  388. "toolbar",
  389. "tooltip",
  390. "tree",
  391. "treegrid",
  392. "treeitem",
  393. ]
  394. ]
  395. | None = None,
  396. slot: Var[str] | str | None = None,
  397. spell_check: Var[bool] | bool | None = None,
  398. tab_index: Var[int] | int | None = None,
  399. title: Var[str] | str | None = None,
  400. style: Sequence[Mapping[str, Any]]
  401. | Mapping[str, Any]
  402. | Var[Mapping[str, Any]]
  403. | Breakpoints
  404. | None = None,
  405. key: Any | None = None,
  406. id: Any | None = None,
  407. class_name: Any | None = None,
  408. autofocus: bool | None = None,
  409. custom_attrs: dict[str, Var | Any] | None = None,
  410. on_blur: Optional[EventType[()]] = None,
  411. on_click: Optional[EventType[()]] = None,
  412. on_context_menu: Optional[EventType[()]] = None,
  413. on_double_click: Optional[EventType[()]] = None,
  414. on_focus: Optional[EventType[()]] = None,
  415. on_mount: Optional[EventType[()]] = None,
  416. on_mouse_down: Optional[EventType[()]] = None,
  417. on_mouse_enter: Optional[EventType[()]] = None,
  418. on_mouse_leave: Optional[EventType[()]] = None,
  419. on_mouse_move: Optional[EventType[()]] = None,
  420. on_mouse_out: Optional[EventType[()]] = None,
  421. on_mouse_over: Optional[EventType[()]] = None,
  422. on_mouse_up: Optional[EventType[()]] = None,
  423. on_scroll: Optional[EventType[()]] = None,
  424. on_unmount: Optional[EventType[()]] = None,
  425. **props,
  426. ) -> "ConnectionPulser":
  427. """Create a connection pulser component.
  428. Args:
  429. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  430. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  431. content_editable: Indicates whether the element's content is editable.
  432. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  433. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  434. draggable: Defines whether the element can be dragged.
  435. enter_key_hint: Hints what media types the media element is able to play.
  436. hidden: Defines whether the element is hidden.
  437. input_mode: Defines the type of the element.
  438. item_prop: Defines the name of the element for metadata purposes.
  439. lang: Defines the language used in the element.
  440. role: Defines the role of the element.
  441. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  442. spell_check: Defines whether the element may be checked for spelling errors.
  443. tab_index: Defines the position of the current element in the tabbing order.
  444. title: Defines a tooltip for the element.
  445. style: The style of the component.
  446. key: A unique key for the component.
  447. id: The id for the component.
  448. class_name: The class name for the component.
  449. autofocus: Whether the component should take the focus once the page is loaded
  450. custom_attrs: custom attribute
  451. **props: The properties of the component.
  452. Returns:
  453. The connection pulser component.
  454. """
  455. ...
  456. class BackendDisabled(Div):
  457. @overload
  458. @classmethod
  459. def create( # type: ignore
  460. cls,
  461. *children,
  462. access_key: Var[str] | str | None = None,
  463. auto_capitalize: Literal[
  464. "characters", "none", "off", "on", "sentences", "words"
  465. ]
  466. | Var[Literal["characters", "none", "off", "on", "sentences", "words"]]
  467. | None = None,
  468. content_editable: Literal["inherit", "plaintext-only", False, True]
  469. | Var[Literal["inherit", "plaintext-only", False, True]]
  470. | None = None,
  471. context_menu: Var[str] | str | None = None,
  472. dir: Var[str] | str | None = None,
  473. draggable: Var[bool] | bool | None = None,
  474. enter_key_hint: Literal[
  475. "done", "enter", "go", "next", "previous", "search", "send"
  476. ]
  477. | Var[Literal["done", "enter", "go", "next", "previous", "search", "send"]]
  478. | None = None,
  479. hidden: Var[bool] | bool | None = None,
  480. input_mode: Literal[
  481. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  482. ]
  483. | Var[
  484. Literal[
  485. "decimal", "email", "none", "numeric", "search", "tel", "text", "url"
  486. ]
  487. ]
  488. | None = None,
  489. item_prop: Var[str] | str | None = None,
  490. lang: Var[str] | str | None = None,
  491. role: Literal[
  492. "alert",
  493. "alertdialog",
  494. "application",
  495. "article",
  496. "banner",
  497. "button",
  498. "cell",
  499. "checkbox",
  500. "columnheader",
  501. "combobox",
  502. "complementary",
  503. "contentinfo",
  504. "definition",
  505. "dialog",
  506. "directory",
  507. "document",
  508. "feed",
  509. "figure",
  510. "form",
  511. "grid",
  512. "gridcell",
  513. "group",
  514. "heading",
  515. "img",
  516. "link",
  517. "list",
  518. "listbox",
  519. "listitem",
  520. "log",
  521. "main",
  522. "marquee",
  523. "math",
  524. "menu",
  525. "menubar",
  526. "menuitem",
  527. "menuitemcheckbox",
  528. "menuitemradio",
  529. "navigation",
  530. "none",
  531. "note",
  532. "option",
  533. "presentation",
  534. "progressbar",
  535. "radio",
  536. "radiogroup",
  537. "region",
  538. "row",
  539. "rowgroup",
  540. "rowheader",
  541. "scrollbar",
  542. "search",
  543. "searchbox",
  544. "separator",
  545. "slider",
  546. "spinbutton",
  547. "status",
  548. "switch",
  549. "tab",
  550. "table",
  551. "tablist",
  552. "tabpanel",
  553. "term",
  554. "textbox",
  555. "timer",
  556. "toolbar",
  557. "tooltip",
  558. "tree",
  559. "treegrid",
  560. "treeitem",
  561. ]
  562. | Var[
  563. Literal[
  564. "alert",
  565. "alertdialog",
  566. "application",
  567. "article",
  568. "banner",
  569. "button",
  570. "cell",
  571. "checkbox",
  572. "columnheader",
  573. "combobox",
  574. "complementary",
  575. "contentinfo",
  576. "definition",
  577. "dialog",
  578. "directory",
  579. "document",
  580. "feed",
  581. "figure",
  582. "form",
  583. "grid",
  584. "gridcell",
  585. "group",
  586. "heading",
  587. "img",
  588. "link",
  589. "list",
  590. "listbox",
  591. "listitem",
  592. "log",
  593. "main",
  594. "marquee",
  595. "math",
  596. "menu",
  597. "menubar",
  598. "menuitem",
  599. "menuitemcheckbox",
  600. "menuitemradio",
  601. "navigation",
  602. "none",
  603. "note",
  604. "option",
  605. "presentation",
  606. "progressbar",
  607. "radio",
  608. "radiogroup",
  609. "region",
  610. "row",
  611. "rowgroup",
  612. "rowheader",
  613. "scrollbar",
  614. "search",
  615. "searchbox",
  616. "separator",
  617. "slider",
  618. "spinbutton",
  619. "status",
  620. "switch",
  621. "tab",
  622. "table",
  623. "tablist",
  624. "tabpanel",
  625. "term",
  626. "textbox",
  627. "timer",
  628. "toolbar",
  629. "tooltip",
  630. "tree",
  631. "treegrid",
  632. "treeitem",
  633. ]
  634. ]
  635. | None = None,
  636. slot: Var[str] | str | None = None,
  637. spell_check: Var[bool] | bool | None = None,
  638. tab_index: Var[int] | int | None = None,
  639. title: Var[str] | str | None = None,
  640. style: Sequence[Mapping[str, Any]]
  641. | Mapping[str, Any]
  642. | Var[Mapping[str, Any]]
  643. | Breakpoints
  644. | None = None,
  645. key: Any | None = None,
  646. id: Any | None = None,
  647. class_name: Any | None = None,
  648. autofocus: bool | None = None,
  649. custom_attrs: dict[str, Var | Any] | None = None,
  650. on_blur: Optional[EventType[()]] = None,
  651. on_click: Optional[EventType[()]] = None,
  652. on_context_menu: Optional[EventType[()]] = None,
  653. on_double_click: Optional[EventType[()]] = None,
  654. on_focus: Optional[EventType[()]] = None,
  655. on_mount: Optional[EventType[()]] = None,
  656. on_mouse_down: Optional[EventType[()]] = None,
  657. on_mouse_enter: Optional[EventType[()]] = None,
  658. on_mouse_leave: Optional[EventType[()]] = None,
  659. on_mouse_move: Optional[EventType[()]] = None,
  660. on_mouse_out: Optional[EventType[()]] = None,
  661. on_mouse_over: Optional[EventType[()]] = None,
  662. on_mouse_up: Optional[EventType[()]] = None,
  663. on_scroll: Optional[EventType[()]] = None,
  664. on_unmount: Optional[EventType[()]] = None,
  665. **props,
  666. ) -> "BackendDisabled":
  667. """Create a backend disabled component.
  668. Args:
  669. access_key: Provides a hint for generating a keyboard shortcut for the current element.
  670. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user.
  671. content_editable: Indicates whether the element's content is editable.
  672. context_menu: Defines the ID of a <menu> element which will serve as the element's context menu.
  673. dir: Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
  674. draggable: Defines whether the element can be dragged.
  675. enter_key_hint: Hints what media types the media element is able to play.
  676. hidden: Defines whether the element is hidden.
  677. input_mode: Defines the type of the element.
  678. item_prop: Defines the name of the element for metadata purposes.
  679. lang: Defines the language used in the element.
  680. role: Defines the role of the element.
  681. slot: Assigns a slot in a shadow DOM shadow tree to an element.
  682. spell_check: Defines whether the element may be checked for spelling errors.
  683. tab_index: Defines the position of the current element in the tabbing order.
  684. title: Defines a tooltip for the element.
  685. style: The style of the component.
  686. key: A unique key for the component.
  687. id: The id for the component.
  688. class_name: The class name for the component.
  689. autofocus: Whether the component should take the focus once the page is loaded
  690. custom_attrs: custom attribute
  691. **props: The properties of the component.
  692. Returns:
  693. The backend disabled component.
  694. """
  695. ...
  696. connection_banner = ConnectionBanner.create
  697. connection_modal = ConnectionModal.create
  698. connection_toaster = ConnectionToaster.create
  699. connection_pulser = ConnectionPulser.create
  700. backend_disabled = BackendDisabled.create