Wijmo UI for the Web
add Method
Zero-based position where to insert the new panel.
The step title.
The step description.
The add method adds a new panel.
Syntax
Javascript (Usage) 
$(function () {
    var returnsValue; // Type:  wijwizard
    // Parameters
    var index; // Type:  number
    var title; // Type:  string
    var desc; // Type:  string
    
    returnsValue = $(".selector").wijwizard("add", index, title, desc);
});
Javascript (Specification) 
function add( 
   index : number,
   title : string,
   desc : string
) : wijwizard;

Parameters

index
Zero-based position where to insert the new panel.
title
The step title.
desc
The step description.
Example
// Add a new panel to be the second step.
// It's title is "New Panel", description is "New Panel Description".
$("#wizard").wijwizard("add", 1, "New Panel", "New Panel Description");
Browser Compatibility
7
5
5

See Also

Reference

wijwizard type
wijwizard jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.