Nav"

From Documentation
Line 12: Line 12:
  
 
= Example =
 
= Example =
 +
[[Image:ZKComRef_Nav.png]]
 +
 +
<source lang="xml" >
 +
<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>
 +
</source>
  
 
= Properties =
 
= Properties =

Revision as of 06:53, 14 August 2013

Nav

  • Demonstration:
  • Java API:
  • JavaScript API:
  • Style Guide:
    • Available for ZK:
    • http://www.zkoss.org/product/zkhttp://www.zkoss.org/whyzk/zkeeVersion ee.png

    Employment/Purpose

    A container is used to display navitems, it should be placed inside a navbar.

    Example

    ZKComRef Nav.png

    <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

    Supported Events

    Name
    Event Type
    onOpen
    Event: OpenEvent

    Denotes user has opened or closed a nav component.

    Supported Children

    * Nav,  Navitem
    

    Use Cases

    Version Description Example Location
         

    Version History

    Last Update : 2013/08/14


    Version Date Content
         



    Last Update : 2013/08/14

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