inline.py 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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
  4. from .base import BaseHTML
  5. class A(BaseHTML): # Inherits common attributes from BaseMeta
  6. """Display the 'a' element."""
  7. tag: str = "a"
  8. # Specifies that the target (the file specified in the href attribute) will be downloaded when a user clicks on the hyperlink.
  9. download: Var[Union[str, int, bool]]
  10. # Specifies the URL of the page the link goes to
  11. href: Var[Union[str, int, bool]]
  12. # Specifies the language of the linked document
  13. href_lang: Var[Union[str, int, bool]]
  14. # Specifies what media/device the linked document is optimized for
  15. media: Var[Union[str, int, bool]]
  16. # Specifies which referrer is sent when fetching the resource
  17. ping: Var[Union[str, int, bool]]
  18. # Specifies the relationship between the current document and the linked document
  19. referrer_policy: Var[Union[str, int, bool]]
  20. # Specifies the relationship between the linked document and the current document
  21. rel: Var[Union[str, int, bool]]
  22. # Specifies the shape of the area
  23. shape: Var[Union[str, int, bool]]
  24. # Specifies where to open the linked document
  25. target: Var[Union[str, int, bool]]
  26. class Abbr(BaseHTML):
  27. """Display the abbr element."""
  28. tag: str = "abbr"
  29. class B(BaseHTML):
  30. """Display the b element."""
  31. tag: str = "b"
  32. class Bdi(BaseHTML):
  33. """Display the bdi element."""
  34. tag: str = "bdi"
  35. class Bdo(BaseHTML):
  36. """Display the bdo element."""
  37. tag: str = "bdo"
  38. class Br(BaseHTML):
  39. """Display the br element."""
  40. tag: str = "br"
  41. class Cite(BaseHTML):
  42. """Display the cite element."""
  43. tag: str = "cite"
  44. class Code(BaseHTML):
  45. """Display the code element."""
  46. tag: str = "code"
  47. class Data(BaseHTML):
  48. """Display the data element."""
  49. tag: str = "data"
  50. value: Var[Union[str, int, bool]]
  51. class Dfn(BaseHTML):
  52. """Display the dfn element."""
  53. tag: str = "dfn"
  54. class Em(BaseHTML):
  55. """Display the em element."""
  56. tag: str = "em"
  57. class I(BaseHTML): # noqa: E742
  58. """Display the i element."""
  59. tag: str = "i"
  60. class Kbd(BaseHTML):
  61. """Display the kbd element."""
  62. tag: str = "kbd"
  63. class Mark(BaseHTML):
  64. """Display the mark element."""
  65. tag: str = "mark"
  66. class Q(BaseHTML):
  67. """Display the q element."""
  68. tag: str = "q"
  69. cite: Var[Union[str, int, bool]]
  70. class Rp(BaseHTML):
  71. """Display the rp element."""
  72. tag: str = "rp"
  73. class Rt(BaseHTML):
  74. """Display the rt element."""
  75. tag: str = "rt"
  76. class Ruby(BaseHTML):
  77. """Display the ruby element."""
  78. tag: str = "ruby"
  79. class S(BaseHTML):
  80. """Display the s element."""
  81. tag: str = "s"
  82. class Samp(BaseHTML):
  83. """Display the samp element."""
  84. tag: str = "samp"
  85. class Small(BaseHTML):
  86. """Display the small element."""
  87. tag: str = "small"
  88. class Span(BaseHTML):
  89. """Display the span element."""
  90. tag: str = "span"
  91. class Strong(BaseHTML):
  92. """Display the strong element."""
  93. tag: str = "strong"
  94. class Sub(BaseHTML):
  95. """Display the sub element."""
  96. tag: str = "sub"
  97. class Sup(BaseHTML):
  98. """Display the sup element."""
  99. tag: str = "sup"
  100. class Time(BaseHTML):
  101. """Display the time element."""
  102. tag: str = "time"
  103. date_time: Var[Union[str, int, bool]]
  104. class U(BaseHTML):
  105. """Display the u element."""
  106. tag: str = "u"
  107. class Wbr(BaseHTML):
  108. """Display the wbr element."""
  109. tag: str = "wbr"