RasterControl.setSibling( [sibling [, after]] )

Removes this control's box from its current location in the DOM tree and inserts it before or after a given sibling element.

Parameters

Name Type   Description
sibling value optional The new sibling for the relocated element. This argument can be one of the following: a string containing the ID of a DOM element, a reference to a DOM element, or a Control object. An error will occur if this argument is null.
after boolean optional true moves this control's box after the given sibling; false inserts this control's box before the given sibling (default).

Returns

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