RasterSplitter.splitLeft( panelNo, size, newContent )
Inserts new content at the left side of a panel. The panel identified by
panelNo
is further splitted into left and right panels, resulting
in a new splitter instance. The left panel (panel 1) will be
size
pixels wide. The right panel (panel 2) will take the remaining horizontal space.
The former content (prior to the split operation occuring) is placed in the
new right panel. The
newContent
(if any) is placed in the new left
panel. If no new content was given, the new left panel is left empty.
Parameters
Name |
Type |
|
Description |
panelNo |
number |
|
ID of the panel to be splitted: 1 or 2. |
size |
number |
|
Width of the inserted left panel. |
newContent |
value |
|
One of the following: a string containing the ID
of a DOM element, a reference to a DOM element, or another
raster control object. If this argument is null or omitted,
the left panel is left empty. |
Returns
Type |
Description |
object |
The splitter resulting from this operation. Panel 1 will be
aligned to the left with a width of size pixels; panel 2
will be at the right holding the former content. |