scripts.py 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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 Canvas(BaseHTML):
  6. """Display the canvas element."""
  7. tag = "canvas"
  8. class Noscript(BaseHTML):
  9. """Display the noscript element."""
  10. tag = "noscript"
  11. # No unique attributes, only common ones are inherited
  12. class Script(BaseHTML):
  13. """Display the script element."""
  14. tag = "script"
  15. # Indicates that the script should be executed asynchronously
  16. async_: Var[Union[str, int, bool]]
  17. # Character encoding of the external script
  18. char_set: Var[Union[str, int, bool]]
  19. # Configures the CORS requests for the script
  20. cross_origin: Var[Union[str, int, bool]]
  21. # Indicates that the script should be executed after the page has finished parsing
  22. defer: Var[Union[str, int, bool]]
  23. # Security feature allowing browsers to verify what they fetch
  24. integrity: Var[Union[str, int, bool]]
  25. # Specifies the scripting language used in the type attribute
  26. language: Var[Union[str, int, bool]]
  27. # Specifies which referrer information to send when fetching the script
  28. referrer_policy: Var[Union[str, int, bool]]
  29. # URL of an external script
  30. src: Var[Union[str, int, bool]]
  31. # Specifies the MIME type of the script
  32. type: Var[Union[str, int, bool]]