Tags N-S
Object
Object(
*children,
archive=None,
border=None,
classid=None,
codebase=None,
codetype=None,
data=None,
declare=None,
form=None,
height=None,
name=None,
standby=None,
type=None,
usemap=None,
width=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines an embedded object
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
archive
|
str | None
|
A space-separated list of URIs for archives of resources for the object. |
None
|
border
|
str | None
|
The width of a border around the object. |
None
|
classidcodebase
|
The codebase URL for the object. |
required | |
codetype
|
str | None
|
The content type of the code. |
None
|
data
|
str | None
|
The address of the object's data. |
None
|
declare
|
str | None
|
Declares the object without instantiating it. |
None
|
form
|
str | None
|
The form the object belongs to. |
None
|
height
|
str | int | None
|
The height of the object. |
None
|
name
|
str | None
|
The name of the object. |
None
|
standby
|
str | None
|
A message to display while the object is loading. |
None
|
type
|
str | None
|
The content type of the data. |
None
|
usemap
|
str | None
|
The name of a client-side image map to be used with the object. |
None
|
width
|
str | int | None
|
The width of the object. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 | |
Ol
Ol(
*children,
compact=None,
reversed=None,
start=None,
type=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines an ordered list
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
compact
|
str | None
|
Specifies that the list should be rendered in a compact style. |
None
|
reversed
|
str | None
|
Specifies that the list order should be descending. |
None
|
start
|
str | None
|
Specifies the start value of an ordered list. |
None
|
type
|
str | None
|
Specifies the kind of marker to use in the list. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 | |
Optgroup
Optgroup(
*children,
disabled=None,
label=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines a group of related options in a drop-down list
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
disabled
|
str | None
|
Indicates if items in the option group are not selectable. |
None
|
label
|
str | None
|
Specifies a label for the group of options. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 | |
Option
Option(
*children,
disabled=None,
label=None,
selected=None,
value=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines an option in a drop-down list
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
disabled
|
str | None
|
Indicates if the option is not selectable. |
None
|
label
|
str | None
|
Specifies a label for the option indicating the meaning of the option. |
None
|
selected
|
bool | None
|
Specifies that the option should be pre-selected. |
None
|
value
|
str | None
|
Specifies the value to be sent with the form. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 | |
Output
Output(
*children,
for_=None,
form=None,
name=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines the result of a calculation
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
for_
|
str | None
|
Lists the IDs of the elements that contributed to the calculation. |
None
|
form
|
str | None
|
Associates the output with a form element. |
None
|
name
|
str | None
|
Defines a name for the output element. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 | |
Pre
Pre(
*children,
width=None,
wrap=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines preformatted text
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
width
|
str | int | None
|
preferred counf of characters that a line should have |
None
|
wrap
|
str | None
|
hint indicating how overflow must happen |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 | |
Progress
Progress(
*children,
max=None,
value=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Represents the progress of a task
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
max
|
str | None
|
The maximum value of the progress bar. |
None
|
value
|
str | None
|
The current value of the progress bar. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 | |
Q
Q(
*children,
cite=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines a short quotation
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
cite
|
str | None
|
Specifies a URL to the source of the quotation. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 | |
Script
Script(
text_child="",
/,
*,
src=None,
type=None,
async_=False,
defer=False,
nomodule=False,
crossorigin=None,
integrity=None,
referrerpolicy=None,
fetchpriority=None,
blocking=None,
attributionsrc=None,
nonce=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: UnSafeTag
Defines a client-side script. Warning: Script tag does not protect against code injection.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
text_child
|
str
|
Inline script code. Use an empty string when providing |
''
|
src
|
str | None
|
URI of the external script. |
None
|
type
|
str | None
|
Script type. Examples: |
None
|
async_
|
bool
|
Fetch in parallel and execute as soon as ready; order is not guaranteed. |
False
|
defer
|
bool
|
Execute after parsing (classic scripts only; modules defer by default). |
False
|
nomodule
|
bool
|
Do not execute on browsers that support ES modules. |
False
|
crossorigin
|
Literal['anonymous', 'use-credentials'] | None
|
CORS mode. One of |
None
|
integrity
|
str | None
|
Subresource Integrity hash (e.g. |
None
|
referrerpolicy
|
Literal['no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', 'same-origin', 'strict-origin', 'strict-origin-when-cross-origin', 'unsafe-url'] | None
|
Which referrer to send. One of:
|
None
|
fetchpriority
|
Literal['high', 'low', 'auto'] | None
|
Network priority hint. One of |
None
|
blocking
|
Literal['render'] | None
|
Space-separated tokens that block operations; currently |
None
|
attributionsrc
|
str | None
|
Space-separated URLs for Attribution Reporting (experimental). |
None
|
nonce
|
str | None
|
CSP nonce (meaning: one-time token) to allow this inline script. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/special.py
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 | |
Select
Select(
*children,
autocomplete=None,
autofocus=None,
disabled=None,
form=None,
multiple=None,
name=None,
required=None,
size=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines a drop-down list
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
autocomplete
|
str | None
|
Hint for a user agent's autocomplete feature. |
None
|
autofocus
|
str | None
|
Indicate that a form control should have input focus when the page loads. |
None
|
disabled
|
str | None
|
Indicates that the user cannot interact with the control. |
None
|
form
|
str | None
|
Associates the drop-down list with a form element. |
None
|
multiple
|
str | None
|
Indicates that multiple options can be selected at once. |
None
|
name
|
str | None
|
Specifies the name of the drop-down list. |
None
|
required
|
str | None
|
Indicates that an option must be selected before the form can be submitted. |
None
|
size
|
str | None
|
If drop-down list is a scrolling list box, specifies the number of visible options. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 | |
Source
Source(
*children,
src=None,
type=None,
sizes=None,
media=None,
srcset=None,
height=None,
width=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines multiple media resources for media elements (
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
src
|
str | None
|
Specifies the URL of the media resource. |
None
|
type
|
str | None
|
Specifies the MIME type of the media resource. |
None
|
sizes
|
str | None
|
List of source sizes that describe the final rendered width of the image. |
None
|
media
|
str | None
|
Specifies the media query for the media resource. |
None
|
srcset
|
str | None
|
Specifies a list of one or more image URLs and their descriptors. |
None
|
height
|
str | int | None
|
Specifies the height of the media resource. |
None
|
width
|
str | int | None
|
Specifies the width of the media resource. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 | |
Style
Style(
text_child="",
/,
*,
media=None,
title=None,
blocking=None,
nonce=None,
type=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: UnSafeTag
Defines style information for a document. Warning: Style tag does not protect against code injection.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
text_child
|
str
|
CSS stylesheet text. |
''
|
media
|
str | None
|
Media query (e.g. |
None
|
title
|
str | None
|
Title for alternate style sheet sets. |
None
|
blocking
|
Literal['render'] | None
|
Space-separated tokens that block operations; currently |
None
|
nonce
|
str | None
|
CSP nonce (meaning: one-time token) to allow this inline style. |
None
|
type
|
str | None
|
(Deprecated) Only |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM |
None
|
style
|
str | None
|
Inline style attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/special.py
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 | |