Span"
From Documentation
m (→Use cases) |
RebeccaLai (talk | contribs) m |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 9: | Line 9: | ||
= Employment/Purpose = | = Employment/Purpose = | ||
− | + | <code>Span</code> is one of the most lightweight containers to group child components for, say, assigning CSS or making more sophisticated layout. It is the same as HTML SPAN tag. Span is displayed inline with other siblings; as if there are ''no'' line breaks between them. | |
= Example = | = Example = | ||
+ | [[Image:ZKComRef_Span_Example.png]] | ||
+ | <source lang="xml"> | ||
+ | <span> | ||
+ | Name: | ||
+ | <textbox /> | ||
+ | </span> | ||
+ | </source> | ||
+ | =Supported Events= | ||
− | + | {| class='wikitable' | width="100%" | |
− | |||
− | |||
− | {| | ||
! <center>Name</center> | ! <center>Name</center> | ||
! <center>Event Type</center> | ! <center>Event Type</center> | ||
Line 26: | Line 31: | ||
| | | | ||
|} | |} | ||
+ | *Inherited Supported Events: [[ZK_Component_Reference/Base_Components/XulElement#Supported_Events | XulElement]] | ||
=Supported Children= | =Supported Children= | ||
Line 33: | Line 39: | ||
=Use Cases= | =Use Cases= | ||
− | {| | + | {| class='wikitable' | width="100%" |
! Version !! Description !! Example Location | ! Version !! Description !! Example Location | ||
|- | |- | ||
Line 44: | Line 50: | ||
{{LastUpdated}} | {{LastUpdated}} | ||
− | {| | + | {| class='wikitable' | width="100%" |
! Version !! Date !! Content | ! Version !! Date !! Content | ||
|- | |- |
Latest revision as of 07:16, 5 February 2024
Span
Employment/Purpose
Span
is one of the most lightweight containers to group child components for, say, assigning CSS or making more sophisticated layout. It is the same as HTML SPAN tag. Span is displayed inline with other siblings; as if there are no line breaks between them.
Example
<span>
Name:
<textbox />
</span>
Supported Events
- Inherited Supported Events: XulElement
Supported Children
*ALL
Use Cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|