other.py 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. """Element classes. This is an auto-generated file. Do not edit. See ../generate.py."""
  2. from typing import Union
  3. from reflex.vars import Var as Var
  4. from .base import BaseHTML
  5. class Details(BaseHTML):
  6. """Display the details element."""
  7. tag = "details"
  8. # Indicates whether the details will be visible (expanded) to the user
  9. open: Var[Union[str, int, bool]]
  10. class Dialog(BaseHTML):
  11. """Display the dialog element."""
  12. tag = "dialog"
  13. # Indicates whether the dialog is active and can be interacted with
  14. open: Var[Union[str, int, bool]]
  15. class Summary(BaseHTML):
  16. """Display the summary element."""
  17. tag = "summary"
  18. # No unique attributes, only common ones are inherited; used as a summary or caption for a <details> element
  19. class Slot(BaseHTML):
  20. """Display the slot element."""
  21. tag = "slot"
  22. # No unique attributes, only common ones are inherited; used as a placeholder inside a web component
  23. class Template(BaseHTML):
  24. """Display the template element."""
  25. tag = "template"
  26. # No unique attributes, only common ones are inherited; used for declaring fragments of HTML that can be cloned and inserted in the document
  27. class Math(BaseHTML):
  28. """Display the math element."""
  29. tag = "math"
  30. # No unique attributes, only common ones are inherited; used for displaying mathematical expressions
  31. class Html(BaseHTML):
  32. """Display the html element."""
  33. tag = "html"
  34. # Specifies the URL of the document's cache manifest (obsolete in HTML5)
  35. manifest: Var[Union[str, int, bool]]
  36. details = Details.create
  37. dialog = Dialog.create
  38. summary = Summary.create
  39. slot = Slot.create
  40. template = Template.create
  41. math = Math.create
  42. html = Html.create