Nav"
From Documentation
Raymondchao (talk | contribs) |
Raymondchao (talk | contribs) |
||
Line 30: | Line 30: | ||
== Detailed == | == Detailed == | ||
+ | We can show the number of the <tt>Navitem</tt> inside the <tt>Nav</tt>. The code snippets as shown below: | ||
+ | <source lang="xml" high="1"> | ||
+ | <nav label="Get Started" iconSclass="z-icon-th-list" detailed="true"> | ||
+ | <navitem label="Step One" /> | ||
+ | <navitem label="Step Two" /> | ||
+ | <navitem label="Step Three" /> | ||
+ | </nav> | ||
+ | </source> | ||
= Supported Events = | = Supported Events = |
Revision as of 10:33, 14 August 2013
- Demonstration:
- Java API:
- JavaScript API:
- Style Guide:
- Available for ZK:
Employment/Purpose
A container is used to display navitem, it should be placed inside a navbar.
Example
<navbar orient="vertical" width="200px">
<navitem label="Home" iconSclass="z-icon-home" />
<nav label="Get Started" iconSclass="z-icon-th-list" detailed="true">
<navitem label="Step One" />
<navitem label="Step Two" />
<navitem label="Step Three" />
</nav>
<navitem label="About" iconSclass="z-icon-flag" />
<navitem label="Contact" iconSclass="z-icon-envelope"/>
</navbar>
Properties
Detailed
We can show the number of the Navitem inside the Nav. The code snippets as shown below:
<nav label="Get Started" iconSclass="z-icon-th-list" detailed="true">
<navitem label="Step One" />
<navitem label="Step Two" />
<navitem label="Step Three" />
</nav>
Supported Events
Event: OpenEvent
Denotes user has opened or closed a nav component. |
- Inherited Supported Events: LabelImageElement
Supported Children
* Nav, Navitem
Use Cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|