Span"

From Documentation
m (Created page with 'init')
 
m
 
(17 intermediate revisions by 5 users not shown)
Line 1: Line 1:
init
+
{{ZKComponentReferencePageHeader}}
 +
 
 +
= Span =
 +
 
 +
*Demonstration: N/A
 +
*Java API: <javadoc>org.zkoss.zul.Span</javadoc>
 +
*JavaScript API: <javadoc directory="jsdoc">zul.wgt.Span</javadoc>
 +
 
 +
= 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 =
 +
 
 +
[[Image:ZKComRef_Span_Example.png]]
 +
 
 +
<source lang="xml">
 +
<span>
 +
Name:
 +
<textbox />
 +
</span>
 +
</source>
 +
 
 +
=Supported Events=
 +
 
 +
{| class='wikitable' | width="100%"
 +
! <center>Name</center>
 +
! <center>Event Type</center>
 +
|-
 +
| &nbsp;
 +
| &nbsp;
 +
|}
 +
*Inherited Supported Events: [[ZK_Component_Reference/Base_Components/XulElement#Supported_Events | XulElement]]
 +
 
 +
=Supported Children=
 +
 
 +
*ALL
 +
 
 +
=Use Cases=
 +
 
 +
{| class='wikitable' | width="100%"
 +
! Version !! Description !! Example Location
 +
|-
 +
| &nbsp;
 +
| &nbsp;
 +
| &nbsp;
 +
|}
 +
 
 +
=Version History=
 +
{{LastUpdated}}
 +
 
 +
{| class='wikitable' | width="100%"
 +
! Version !! Date !! Content
 +
|-
 +
| &nbsp;
 +
| &nbsp;
 +
| &nbsp;
 +
|}
 +
 
 +
{{ZKComponentReferencePageFooter}}

Latest revision as of 07:16, 5 February 2024

Span

  • Demonstration: N/A
  • Java API: Span
  • JavaScript API: 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

ZKComRef Span Example.png

<span>
	Name:
	<textbox />
</span>

Supported Events

Name
Event Type
   

Supported Children

*ALL

Use Cases

Version Description Example Location
     

Version History

Last Update : 2024/02/05


Version Date Content
     



Last Update : 2024/02/05

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.