
* Improve import times * add lazy loading to rx.el * add lazy loading to reflex core components * minor refactor * Get imports working with reflex web * get imports to work with all reflex examples * refactor to define imports only in the root. * lint * deadcode remove * update poetry deps * unit tests fix * app_harness fix * app_harness fix * pyi file generate * pyi file generate * sort pyi order * fix pyi * fix docker ci * rework pyi-generator * generate pyi for __init__ files * test pyright * test pyright ci * partial pyright fix * more pyright fix * pyright fix * fix pyi_generator * add rx.serializer and others * add future annotation import which fixes container CI, then also load recharts lazily * add new pyi files * pyright fix * minor fixes for reflex-web and flexdown * forward references for py38 * ruff fix * pyi fix * unit tests fix * reduce coverage to 68% * reduce coverage to 67% * reduce coverage to 66%as a workaround to coverage's rounding issue * reduce coverage to 66%as a workaround to coverage's rounding issue * exclude lazy_loader dependency review checks. * its lazy-loader * Add docstrings and regenerate pyi files * add link * address Pr comments * CI fix * partially address PR comments. * edit docstrings and fix integration tests * fix typo in docstring * pyi fix
71 lines
1.7 KiB
Python
71 lines
1.7 KiB
Python
"""Element classes. This is an auto-generated file. Do not edit. See ../generate.py."""
|
|
from typing import Union
|
|
|
|
from reflex.vars import Var as Var
|
|
|
|
from .base import BaseHTML
|
|
|
|
|
|
class Details(BaseHTML):
|
|
"""Display the details element."""
|
|
|
|
tag = "details"
|
|
|
|
# Indicates whether the details will be visible (expanded) to the user
|
|
open: Var[Union[str, int, bool]]
|
|
|
|
|
|
class Dialog(BaseHTML):
|
|
"""Display the dialog element."""
|
|
|
|
tag = "dialog"
|
|
|
|
# Indicates whether the dialog is active and can be interacted with
|
|
open: Var[Union[str, int, bool]]
|
|
|
|
|
|
class Summary(BaseHTML):
|
|
"""Display the summary element."""
|
|
|
|
tag = "summary"
|
|
# No unique attributes, only common ones are inherited; used as a summary or caption for a <details> element
|
|
|
|
|
|
class Slot(BaseHTML):
|
|
"""Display the slot element."""
|
|
|
|
tag = "slot"
|
|
# No unique attributes, only common ones are inherited; used as a placeholder inside a web component
|
|
|
|
|
|
class Template(BaseHTML):
|
|
"""Display the template element."""
|
|
|
|
tag = "template"
|
|
# No unique attributes, only common ones are inherited; used for declaring fragments of HTML that can be cloned and inserted in the document
|
|
|
|
|
|
class Math(BaseHTML):
|
|
"""Display the math element."""
|
|
|
|
tag = "math"
|
|
# No unique attributes, only common ones are inherited; used for displaying mathematical expressions
|
|
|
|
|
|
class Html(BaseHTML):
|
|
"""Display the html element."""
|
|
|
|
tag = "html"
|
|
|
|
# Specifies the URL of the document's cache manifest (obsolete in HTML5)
|
|
manifest: Var[Union[str, int, bool]]
|
|
|
|
|
|
details = Details.create
|
|
dialog = Dialog.create
|
|
summary = Summary.create
|
|
slot = Slot.create
|
|
template = Template.create
|
|
math = Math.create
|
|
html = Html.create
|