RasterTree.moveItemsTo( items, parent )
Move one of more tree items as children of any given parent.Parameters
| Name | Type | Description | |
|---|---|---|---|
| items | object | Either a single tree item or an array of tree items. | |
| parent | object | The new parent for the item(s). |
Returns
| Type | Description |
|---|---|
| object | The tree object. This allow for chaining multiple setter methods in one single statement. |