Wijmo UI for the Web
options type
Inheritance Hierarchy

Object
   wijmo.tabs.wijtabs.options

Browser Compatibility
7
5
5
Fields
 NameDescription
public OptionajaxOptions

Default value: null

Additional Ajax options to consider when loading tab content (see $.ajax).

 
public Optionalignment

Default value: 'top'

Determines the tabs' alignment in respect to the content.

 
public Optioncache

Default value: false

Determines whether or not to cache the remote tabs content, for example, to load content only once or with every click.

 
public Optioncollapsible

Default value: false

Determines whether a tab can be collapsed by a user. When this is set to true, an already selected tab will be collapsed upon reselection.

 
public Optioncookie

Default value: null

Stores the latest selected tab in a cookie. The cookie is then used to determine the initially selected tab if the selected option is not defined. This option requires a cookie plugin. The object needs to have key/value pairs of the form the cookie plugin expects as options.

 
public OptiondisabledIndexes

Default value: []

An array containing the position of the tabs (zero-based index) that should be disabled upon initialization.

 
public Optionevent

Default value: 'click'

The type of event to be used for selecting a tab.

 
public OptionhideOption

Default value: null

This is an animation option for hiding the tab's panel content.

 
public OptionidPrefix

Default value: 'ui-tabs-'

If the remote tab, its anchor element that is, has no title attribute to generate an id from, an id/fragment identifier is created from this prefix and a unique id returned by $.data(el), for example "ui-tabs-54".

 
public OptionpanelTemplate

Default value: ""

This is the HTML template from which a new tab panel is created in case a tab is added via the add method or if a panel for a remote tab is created on the fly.

 
public Optionscrollable

Default value: false

Determines whether to wrap to the next line or enable scrolling when the number of tabs exceeds the specified width.

 
public OptionshowOption

Default value: null

This is an animation option for showing the tab's panel content.

 
public Optionsortable

Default value: false

Determines whether the tab can be dragged to a new position.

 
public Optionspinner

Default value: ""

The HTML content of this string is shown in a tab title while remote content is loading. Pass in an empty string to deactivate that behavior. A span element must be present in the A tag of the title for the spinner content to be visible.

 
public OptiontabTemplate

Default value: ""

HTML template from which a new tab is created and added. The placeholders #{href} and #{label} are replaced with the url and tab label that are passed as arguments to the add method.

 
Top
Events
 NameDescription
public EventaddThe add event handler. A function called when a tab is added.  
public EventbeforeShowThe beforeShow event handler. A function called before a tab is shown.  
public EventdisableThe disable event handler. A function called when a tab is disabled.  
public EventenableThe enable event handler. A function called when a tab is enabled.  
public EventloadThe load event handler. A function called after the content of a remote tab has been loaded.  
public EventremoveThe remove event handler. A function called when a tab is removed.  
public EventselectThe select event handler. A function called when clicking a tab.  
public EventshowThe show event handler. A function called when a tab is shown.  
Top
See Also

Reference

wijmo.tabs.wijtabs Namespace

 

 


© 2013 All Rights Reserved.

Send comments on this topic.