Wijmo UI for the Web
wijsplitter jQuery Widget
Design a professional and polished website with this container widget that can be nested indefinitely and features a movable and collapsible bar that divides an area into two resizable panels.
Syntax
Javascript (Usage) 
$(function () {
    var options; // Type:  wijmo.splitter.wijsplitter.options
     
    $(".selector").wijsplitter(options);
});
Javascript (Specification) 
function wijsplitter() : any;
Browser Compatibility
7
5
5
Options
 NameDescription
public OptionbarZIndex

Default value: 0

A value that indicates the z-index (stack order) of the splitter bar.

 
public OptioncollapsingPanel

Default value: 'panel1'

Specifies which panel should be collapsed after clicking the expander of the splitter. Possible values are "panel1" and "panel2".

 
public OptionfullSplit

Default value: false

Gets or sets a value that indicates whether the widget fills the whole page.

 
public Optionorientation

Default value: 'vertical'

Gets or sets a value indicating the horizontal or vertical orientation of the SplitContainer panels of the splitter panels.

 
public Optionpanel1

Defines the information for the top or left panel of the splitter.

 
public Optionpanel2

Defines the information for the bottom or right panel of the splitter.

 
public OptionresizeSettings

Defines the animation while the bar of the splitter is being dragged.

 
public OptionshowExpander

Default value: true

A Boolean value that determines whether the expander of the wijsplitter widget is shown. is allowed to be shown.

 
public OptionsplitterDistance

Default value: 100

Gets or sets the location of the splitter, in pixels, from the left or top edge of the SplitContainer.

 
Top
Methods
 NameDescription
public MethoddestroyRemoves the splitter functionality completely.This will return the element back to its pre - init state.  
public MethodrefreshForces the widget to recreate the splitter.  
public MethodwidgetReturns a jQuery object containing the original element or other relevant generated element.  
Top
Events
 NameDescription
public EventcollapseGets or sets the javascript function name to be called before panel1 is collapsed.  
public EventcollapsedGets or sets the javascript function name to be called when panel1 is collapsed by clicking the collapse/expand image.  
public EventexpandGets or sets the javascript function name to be called before panel1 is expanded.  
public EventexpandedGets or sets the javascript function name to be called when panel1 is expanded by clicking the collapse/expand image.  
public EventsizedGets or sets the javascript function name that would be called at the client side when the user is done dragging the splitter.  
public EventsizingGets or sets the javascript function name that would be called at the client side when a user is dragging the splitter.  
Top

See Also

Widgets

Splitter

Reference

wijsplitter jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.