Split
Constructors
new
Split
Description
Creates a new split view
Members
orientation
Description
Gets or sets the orientation of all the seperators in the view, the values can be either "vertical" or "horizontal". The default is "horizontal".
style
Description
Gets or sets the style or size of the seperators, the values can be "thick", "thin" or "pane". The actual size is determined by the native widget styles and recommended operating system standards. The default is "thin".
Methods
appendChild(The)
Description
appendChild adds a new control to the split control with a seperator between the previous and appended control.
Parameters
Name | Type | Description |
---|---|---|
The | control | control to append to the split control. |
removeChild(The)
Description
Removes a control from the split control.
Parameters
Name | Type | Description |
---|---|---|
The | control | control to remove from the split control. |
setPosition(position, index)
Description
Sets the position (a value of 0 to 1) of a seperator identified by the index.
Parameters
Name | Type | Description |
---|---|---|
position | number | The position of the seperator, a value of 0 to 1 representing the percentage of available area it should be at, for example two views are sharing 50% of the possible area if the position is set to 0.5. |
index | number | The index identifying the seperator to position. |