RasterTreeItem.applyClass( cssClass )
Apply or removes the CSS style to/from the text in the tree item.Parameters
| Name | Type | Description | |
|---|---|---|---|
| cssClass | string |
Name of custom css class to apply to the text
of the tree item. Set to null to remove any previously
set style. |
Returns
| Type | Description |
|---|---|
| object | The tree item object. This allow for chaining multiple setter methods in one single statement. |