Tags T-Z
Td
Td(
*children,
colspan=None,
rowspan=None,
headers=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines a cell in a table
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
colspan
|
str | None
|
Defines the number of columns a cell should span. |
None
|
rowspan
|
str | None
|
Defines the number of rows a cell should span. |
None
|
headers
|
str | None
|
list of string ids of the |
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
2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 | |
Template
Template(
*children,
shadowrootmode=None,
shadowrootdelegatesfocus=None,
shadowrootclonable=None,
shadowrootserializable=None,
class_=None,
id=None,
**kwargs,
)
Bases: BaseTag
Defines a container for content that should be hidden when the page loads
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
shadowrootmode
|
str | None
|
Creates a shadow root for the parent element. |
None
|
shadowrootdelegatesfocus
|
str | None
|
Sets whether the shadow root created delegates focus. |
None
|
shadowrootclonable
|
str | None
|
Sets the value of the 'cloneable' property on the shadow root. |
None
|
shadowrootserializable
|
str | None
|
Sets the value of the 'serializable' property on the shadow root. |
None
|
class_
|
str | None
|
Substituted as the DOM |
None
|
id
|
str | None
|
DOM ID attribute. |
None
|
kwargs
|
AttributeType
|
Keyword arguments transformed into tag attributes. |
{}
|
Source code in src/air/tags/models/stock.py
2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 | |
Textarea
Textarea(
*children,
autocapitalize=None,
autocomplete=None,
autocorrect=None,
autofocus=None,
cols=None,
dirname=None,
disabled=None,
form=None,
maxlength=None,
minlength=None,
name=None,
placeholder=None,
readonly=None,
required=None,
rows=None,
spellcheck=None,
wrap=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines a multiline input control (text area)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
autocapitalize
|
str | None
|
Determines whether inputted text is automatically capitalized. |
None
|
autocomplete
|
str | None
|
Controls whether inputted text can be automatically completed by the browser. |
None
|
autocorrect
|
str | None
|
Controls whether autocorrect is enabled on the input text. |
None
|
autofocus
|
bool | None
|
Indicates that the text area should have input focus when the page loads. |
None
|
cols
|
str | None
|
Defines the visible width of the text area in average character widths. |
None
|
dirname
|
str | None
|
Indicates text directionality of the element contents. |
None
|
disabled
|
bool | None
|
Determines if the user can interact with the text area. |
None
|
form
|
str | None
|
Associates the text area with a form element. |
None
|
maxlength
|
str | None
|
Defines the maximum number of characters allowed in the text area. |
None
|
minlength
|
str | None
|
Defines the minimum number of characters required in the text area. |
None
|
name
|
str | None
|
The name of the element. |
None
|
placeholder
|
str | None
|
Provides a hint to the user of what can be entered in the text area. |
None
|
readonly
|
bool | None
|
Indicates that the user may not edit the value of the text area. |
None
|
required
|
bool | None
|
Specifies that the text area must be filled out before submitting the form. |
None
|
rows
|
str | None
|
Defines the visible number of lines for the control. |
None
|
spellcheck
|
str | None
|
Specifies if the element is subject to browser or OS spell-check. |
None
|
wrap
|
str | None
|
Indicates how the text area handles line wrapping. |
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
2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 | |
Th
Th(
*children,
abbr=None,
colspan=None,
headers=None,
rowspan=None,
scope=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines a header cell in a table
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
abbr
|
str | None
|
An abbreviated description of the header cell content. |
None
|
colspan
|
str | None
|
Defines the number of columns a header cell should span. |
None
|
headers
|
str | None
|
list of string ids of the |
None
|
rowspan
|
str | None
|
Defines the number of rows a header cell should span. |
None
|
scope
|
str | None
|
Specifies whether the header cell is a header for a column, row, or group of columns or rows. |
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
2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 | |
Time
Time(
*children,
datetime=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines a specific time (or datetime)
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
children
|
Renderable
|
Tags, strings, or other rendered content. |
()
|
datetime
|
str | None
|
Specifies the date and/or time format. |
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
2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 | |
Track
Track(
*,
default=None,
kind=None,
label=None,
srclang=None,
src=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: SelfClosingTag
Defines text tracks for media elements (
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
default
|
str | None
|
Indicates that the track is to be enabled if the user's preferences do not indicate any. |
None
|
kind
|
str | None
|
Specifies how the text track is meant to be used. |
None
|
label
|
str | None
|
Provides a user-readable title for the text track. |
None
|
srclang
|
str | None
|
Specifies the language of the text track data. |
None
|
src
|
str | None
|
Specifies the URL of the track file. |
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
2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 | |
U
U(
*children,
compact=None,
type=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines some text that is unarticulated and styled differently from normal text
Source code in src/air/tags/models/stock.py
2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 | |
Video
Video(
*children,
src=None,
autoplay=None,
controls=None,
controlslist=None,
crossorigin=None,
disablepictureinpicture=None,
disableremoteplayback=None,
height=None,
width=None,
loop=None,
muted=None,
playsinline=None,
poster=None,
preload=None,
class_=None,
id=None,
style=None,
**kwargs,
)
Bases: BaseTag
Defines embedded video content
Source code in src/air/tags/models/stock.py
2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 | |