RasterSplitter.setContent( panelNo, content )

Sets the content for the given panel of the splitter. Any previously set content will be removed before the new content is set.

Parameters

Name Type   Description
panelNo number 1 set contents for panel 1; 2 or any other value set contents for panel 2.
content object One of the following: a string containing the ID of a DOM element, a reference to a DOM element, or another control object. If this argument is null, the content is removed.

Returns

Type Description
object The splitter object. This allow for chaining multiple setter methods in one single statement.
Home Examples Download License
 
Copyright © 2010-2017 Edwin R. López