You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| initialModel | Array | The data model containing [model data](#model-data) | - | Yes |
105
+
| initialModel | Array | The data model containing [model data](#model-data) | - | Yes |
105
106
| modelDefaults | Object | An object containing defaults for all nodes that do not specify the given properties | `{}` | |
106
107
| radioGroupValues | Object | An object, the properties of which correspond to radio button group selections | `{}` | |
108
+
| skinClass | String | A class name to apply to the tree that specifies a skin to use (see [Skins](#skins)) | `"default-tree-view-skin"` | |
107
109
| customAriaKeyMap | Object | An object, the properties of which are arrays to keyCodes for various actions | See [Aria](#setting-key-bindings) | |
108
110
109
111
## Model Data
@@ -279,6 +281,10 @@ A customizations object may have the following properties:
279
281
| classes.treeViewNodeSelfDeleteIcon | String | Classes to add to the `<i>` element containing the delete icon |
280
282
| classes.treeViewNodeChildren | String | Classes to add to the list of child nodes |
281
283
284
+
### Skins
285
+
286
+
If adding classes isn't enough, the entire default styles of the TreeView can be overridden using the `skinClass` property of the TreeView. When this property is set, the TreeView's default class of `default-tree-view-skin` is replaced with your own class name, causing all of the built-in style selectors to not match the tree. Instead, you can create your own stylesheet or modify a copy of the default styles to achieve complete control over the tree styling.
287
+
282
288
### Slots
283
289
284
290
Sometimes the entire content of a node (_e.g._, the checkbox or text) needs customization beyond what is available through classes. In this case, some slots are available in the TreeView to allow this customization.
0 commit comments