@syncfusion/ej2-navigations 20.3.58 → 20.4.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/.eslintrc.json +16 -1
  2. package/CHANGELOG.md +25 -2
  3. package/dist/ej2-navigations.min.js +2 -2
  4. package/dist/ej2-navigations.umd.min.js +2 -2
  5. package/dist/ej2-navigations.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-navigations.es2015.js +271 -216
  7. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  8. package/dist/es6/ej2-navigations.es5.js +269 -213
  9. package/dist/es6/ej2-navigations.es5.js.map +1 -1
  10. package/dist/global/ej2-navigations.min.js +2 -2
  11. package/dist/global/ej2-navigations.min.js.map +1 -1
  12. package/dist/global/index.d.ts +1 -1
  13. package/package.json +11 -11
  14. package/src/accordion/accordion.js +20 -19
  15. package/src/appbar/appbar-model.d.ts +15 -15
  16. package/src/appbar/appbar.d.ts +15 -15
  17. package/src/appbar/appbar.js +3 -3
  18. package/src/breadcrumb/breadcrumb-model.d.ts +1 -1
  19. package/src/breadcrumb/breadcrumb.js +10 -5
  20. package/src/carousel/carousel.js +10 -10
  21. package/src/common/menu-base.js +9 -5
  22. package/src/menu/menu.js +2 -2
  23. package/src/sidebar/sidebar.d.ts +1 -0
  24. package/src/sidebar/sidebar.js +6 -2
  25. package/src/tab/tab-model.d.ts +9 -0
  26. package/src/tab/tab.d.ts +9 -0
  27. package/src/tab/tab.js +28 -18
  28. package/src/toolbar/toolbar-model.d.ts +9 -0
  29. package/src/toolbar/toolbar.d.ts +11 -0
  30. package/src/toolbar/toolbar.js +132 -123
  31. package/src/treeview/treeview-model.d.ts +133 -45
  32. package/src/treeview/treeview.d.ts +135 -48
  33. package/src/treeview/treeview.js +49 -25
  34. package/styles/accordion/_bootstrap-dark-definition.scss +100 -0
  35. package/styles/accordion/_bootstrap-definition.scss +100 -0
  36. package/styles/accordion/_bootstrap4-definition.scss +95 -1
  37. package/styles/accordion/_bootstrap5-definition.scss +99 -3
  38. package/styles/accordion/_fabric-dark-definition.scss +100 -0
  39. package/styles/accordion/_fabric-definition.scss +100 -0
  40. package/styles/accordion/_fluent-definition.scss +98 -2
  41. package/styles/accordion/_fusionnew-definition.scss +99 -3
  42. package/styles/accordion/_highcontrast-definition.scss +98 -3
  43. package/styles/accordion/_highcontrast-light-definition.scss +98 -3
  44. package/styles/accordion/_layout.scss +25 -91
  45. package/styles/accordion/_material-dark-definition.scss +100 -0
  46. package/styles/accordion/_material-definition.scss +100 -0
  47. package/styles/accordion/_material3-definition.scss +99 -3
  48. package/styles/accordion/_tailwind-definition.scss +99 -2
  49. package/styles/accordion/_theme.scss +184 -345
  50. package/styles/accordion/bootstrap-dark.css +202 -16
  51. package/styles/accordion/bootstrap.css +202 -16
  52. package/styles/accordion/bootstrap4.css +171 -17
  53. package/styles/accordion/bootstrap5-dark.css +202 -13
  54. package/styles/accordion/bootstrap5.css +202 -13
  55. package/styles/accordion/fabric-dark.css +209 -11
  56. package/styles/accordion/fabric.css +209 -11
  57. package/styles/accordion/fluent-dark.css +217 -5
  58. package/styles/accordion/fluent.css +217 -5
  59. package/styles/accordion/highcontrast-light.css +186 -52
  60. package/styles/accordion/highcontrast.css +186 -52
  61. package/styles/accordion/material-dark.css +210 -16
  62. package/styles/accordion/material.css +209 -15
  63. package/styles/accordion/tailwind-dark.css +199 -8
  64. package/styles/accordion/tailwind.css +199 -8
  65. package/styles/bootstrap-dark.css +999 -145
  66. package/styles/bootstrap.css +986 -132
  67. package/styles/bootstrap4.css +888 -167
  68. package/styles/bootstrap5-dark.css +949 -179
  69. package/styles/bootstrap5.css +949 -179
  70. package/styles/context-menu/_layout.scss +0 -3
  71. package/styles/context-menu/bootstrap5-dark.css +0 -1
  72. package/styles/context-menu/bootstrap5.css +0 -1
  73. package/styles/context-menu/fluent-dark.css +0 -1
  74. package/styles/context-menu/fluent.css +0 -1
  75. package/styles/context-menu/tailwind-dark.css +0 -1
  76. package/styles/context-menu/tailwind.css +0 -1
  77. package/styles/fabric-dark.css +1068 -232
  78. package/styles/fabric.css +1067 -231
  79. package/styles/fluent-dark.css +1014 -123
  80. package/styles/fluent.css +1012 -121
  81. package/styles/h-scroll/_bootstrap-dark-definition.scss +8 -0
  82. package/styles/h-scroll/_bootstrap-definition.scss +8 -0
  83. package/styles/h-scroll/_bootstrap4-definition.scss +8 -0
  84. package/styles/h-scroll/_bootstrap5-definition.scss +8 -0
  85. package/styles/h-scroll/_fabric-dark-definition.scss +8 -0
  86. package/styles/h-scroll/_fabric-definition.scss +8 -0
  87. package/styles/h-scroll/_fluent-definition.scss +8 -0
  88. package/styles/h-scroll/_fusionnew-definition.scss +8 -0
  89. package/styles/h-scroll/_highcontrast-definition.scss +6 -1
  90. package/styles/h-scroll/_highcontrast-light-definition.scss +6 -1
  91. package/styles/h-scroll/_layout.scss +1 -4
  92. package/styles/h-scroll/_material-dark-definition.scss +8 -0
  93. package/styles/h-scroll/_material-definition.scss +8 -0
  94. package/styles/h-scroll/_material3-definition.scss +8 -0
  95. package/styles/h-scroll/_tailwind-definition.scss +8 -0
  96. package/styles/h-scroll/_theme.scss +12 -40
  97. package/styles/h-scroll/bootstrap-dark.css +13 -0
  98. package/styles/h-scroll/bootstrap.css +13 -0
  99. package/styles/h-scroll/bootstrap4.css +7 -0
  100. package/styles/h-scroll/bootstrap5-dark.css +12 -0
  101. package/styles/h-scroll/bootstrap5.css +12 -0
  102. package/styles/h-scroll/fabric-dark.css +15 -2
  103. package/styles/h-scroll/fabric.css +15 -2
  104. package/styles/h-scroll/fluent-dark.css +13 -0
  105. package/styles/h-scroll/fluent.css +13 -0
  106. package/styles/h-scroll/highcontrast-light.css +8 -7
  107. package/styles/h-scroll/highcontrast.css +10 -9
  108. package/styles/h-scroll/icons/_fabric-dark.scss +2 -2
  109. package/styles/h-scroll/icons/_fabric.scss +2 -2
  110. package/styles/h-scroll/icons/_highcontrast.scss +2 -2
  111. package/styles/h-scroll/material-dark.css +13 -2
  112. package/styles/h-scroll/material.css +13 -2
  113. package/styles/h-scroll/tailwind-dark.css +12 -0
  114. package/styles/h-scroll/tailwind.css +12 -0
  115. package/styles/highcontrast-light.css +918 -369
  116. package/styles/highcontrast.css +925 -370
  117. package/styles/material-dark.css +1184 -114
  118. package/styles/material.css +1162 -92
  119. package/styles/menu/_theme.scss +1 -1
  120. package/styles/menu/fluent-dark.css +1 -1
  121. package/styles/menu/fluent.css +1 -1
  122. package/styles/tab/_bootstrap-dark-definition.scss +271 -15
  123. package/styles/tab/_bootstrap-definition.scss +266 -9
  124. package/styles/tab/_bootstrap4-definition.scss +266 -9
  125. package/styles/tab/_bootstrap5-definition.scss +270 -13
  126. package/styles/tab/_fabric-dark-definition.scss +270 -13
  127. package/styles/tab/_fabric-definition.scss +270 -13
  128. package/styles/tab/_fluent-definition.scss +269 -12
  129. package/styles/tab/_fusionnew-definition.scss +268 -11
  130. package/styles/tab/_highcontrast-definition.scss +271 -14
  131. package/styles/tab/_highcontrast-light-definition.scss +271 -14
  132. package/styles/tab/_layout.scss +295 -988
  133. package/styles/tab/_material-dark-definition.scss +266 -9
  134. package/styles/tab/_material-definition.scss +266 -9
  135. package/styles/tab/_material3-definition.scss +268 -11
  136. package/styles/tab/_tailwind-definition.scss +267 -10
  137. package/styles/tab/_theme.scss +305 -843
  138. package/styles/tab/bootstrap-dark.css +587 -109
  139. package/styles/tab/bootstrap.css +574 -96
  140. package/styles/tab/bootstrap4.css +546 -114
  141. package/styles/tab/bootstrap5-dark.css +523 -134
  142. package/styles/tab/bootstrap5.css +523 -134
  143. package/styles/tab/fabric-dark.css +614 -199
  144. package/styles/tab/fabric.css +612 -197
  145. package/styles/tab/fluent-dark.css +546 -102
  146. package/styles/tab/fluent.css +546 -102
  147. package/styles/tab/highcontrast-light.css +520 -250
  148. package/styles/tab/highcontrast.css +520 -244
  149. package/styles/tab/icons/_bootstrap-dark.scss +0 -33
  150. package/styles/tab/icons/_bootstrap.scss +0 -33
  151. package/styles/tab/icons/_bootstrap4.scss +0 -26
  152. package/styles/tab/icons/_bootstrap5.scss +0 -37
  153. package/styles/tab/icons/_fabric-dark.scss +0 -33
  154. package/styles/tab/icons/_fabric.scss +0 -33
  155. package/styles/tab/icons/_fluent.scss +0 -33
  156. package/styles/tab/icons/_fusionnew.scss +0 -37
  157. package/styles/tab/icons/_highcontrast-light.scss +0 -37
  158. package/styles/tab/icons/_highcontrast.scss +0 -26
  159. package/styles/tab/icons/_material-dark.scss +0 -37
  160. package/styles/tab/icons/_material.scss +0 -37
  161. package/styles/tab/icons/_material3.scss +0 -37
  162. package/styles/tab/icons/_tailwind.scss +0 -37
  163. package/styles/tab/material-dark.css +705 -54
  164. package/styles/tab/material.css +705 -54
  165. package/styles/tab/tailwind-dark.css +706 -71
  166. package/styles/tab/tailwind.css +706 -71
  167. package/styles/tailwind-dark.css +1145 -99
  168. package/styles/tailwind.css +1144 -98
  169. package/styles/toolbar/_bootstrap-dark-definition.scss +93 -0
  170. package/styles/toolbar/_bootstrap-definition.scss +93 -0
  171. package/styles/toolbar/_bootstrap4-definition.scss +94 -1
  172. package/styles/toolbar/_bootstrap5-definition.scss +94 -8
  173. package/styles/toolbar/_fabric-dark-definition.scss +92 -3
  174. package/styles/toolbar/_fabric-definition.scss +92 -3
  175. package/styles/toolbar/_fluent-definition.scss +96 -8
  176. package/styles/toolbar/_fusionnew-definition.scss +94 -8
  177. package/styles/toolbar/_highcontrast-definition.scss +93 -4
  178. package/styles/toolbar/_highcontrast-light-definition.scss +93 -4
  179. package/styles/toolbar/_layout.scss +48 -177
  180. package/styles/toolbar/_material-dark-definition.scss +93 -0
  181. package/styles/toolbar/_material-definition.scss +93 -0
  182. package/styles/toolbar/_material3-definition.scss +94 -8
  183. package/styles/toolbar/_tailwind-definition.scss +94 -6
  184. package/styles/toolbar/_theme.scss +169 -278
  185. package/styles/toolbar/bootstrap-dark.css +196 -19
  186. package/styles/toolbar/bootstrap.css +196 -19
  187. package/styles/toolbar/bootstrap4.css +164 -36
  188. package/styles/toolbar/bootstrap5-dark.css +210 -29
  189. package/styles/toolbar/bootstrap5.css +210 -29
  190. package/styles/toolbar/fabric-dark.css +219 -9
  191. package/styles/toolbar/fabric.css +220 -10
  192. package/styles/toolbar/fluent-dark.css +233 -10
  193. package/styles/toolbar/fluent.css +233 -10
  194. package/styles/toolbar/highcontrast-light.css +199 -43
  195. package/styles/toolbar/highcontrast.css +200 -44
  196. package/styles/toolbar/material-dark.css +233 -19
  197. package/styles/toolbar/material.css +233 -19
  198. package/styles/toolbar/tailwind-dark.css +224 -15
  199. package/styles/toolbar/tailwind.css +223 -14
  200. package/styles/treeview/_material-definition.scss +1 -1
  201. package/styles/treeview/_theme.scss +11 -1
  202. package/styles/treeview/fluent-dark.css +2 -2
  203. package/styles/treeview/material.css +2 -2
  204. package/styles/treeview/tailwind.css +2 -2
  205. package/styles/v-scroll/_highcontrast-definition.scss +0 -1
  206. package/styles/v-scroll/_highcontrast-light-definition.scss +0 -1
  207. package/styles/v-scroll/_theme.scss +0 -26
  208. package/styles/v-scroll/bootstrap5-dark.css +2 -2
  209. package/styles/v-scroll/bootstrap5.css +2 -2
  210. package/styles/v-scroll/fabric-dark.css +2 -2
  211. package/styles/v-scroll/fabric.css +2 -2
  212. package/styles/v-scroll/fluent-dark.css +2 -2
  213. package/styles/v-scroll/fluent.css +2 -2
  214. package/styles/v-scroll/highcontrast-light.css +2 -14
  215. package/styles/v-scroll/highcontrast.css +2 -14
  216. package/styles/v-scroll/icons/_bootstrap5.scss +2 -2
  217. package/styles/v-scroll/icons/_fabric-dark.scss +2 -2
  218. package/styles/v-scroll/icons/_fabric.scss +2 -2
  219. package/styles/v-scroll/icons/_fluent.scss +2 -2
  220. package/styles/v-scroll/icons/_fusionnew.scss +2 -2
  221. package/styles/v-scroll/icons/_highcontrast-light.scss +2 -2
  222. package/styles/v-scroll/icons/_highcontrast.scss +2 -2
  223. package/styles/v-scroll/icons/_material3.scss +2 -2
  224. package/styles/v-scroll/icons/_tailwind.scss +2 -2
  225. package/styles/v-scroll/tailwind-dark.css +2 -2
  226. package/styles/v-scroll/tailwind.css +2 -2
@@ -70,6 +70,12 @@ export interface FieldsSettingsModel {
70
70
  */
71
71
  query?: Query;
72
72
 
73
+ /**
74
+ * Specifies whether the node can be selected by users or not
75
+ * When set to false, the user interaction is prevented for the corresponding node.
76
+ */
77
+ selectable?: string;
78
+
73
79
  /**
74
80
  * Specifies the mapping field for selected state of the TreeView node.
75
81
  */
@@ -186,10 +192,10 @@ export interface TreeViewModel extends ComponentModel{
186
192
  allowMultiSelection?: boolean;
187
193
 
188
194
  /**
189
- * Enables or disables text wrapping when text exceeds the bounds in the TreeView node.
190
- * When the allowTextWrap property is set to true, the TreeView node text content will wrap to the next line
195
+ * Enables or disables text wrapping when text exceeds the bounds in the TreeView node.
196
+ * When the allowTextWrap property is set to true, the TreeView node text content will wrap to the next line
191
197
  * when it exceeds the width of the TreeView node.
192
- * The TreeView node height will be adjusted automatically based on the TreeView node content.
198
+ * The TreeView node height will be adjusted automatically based on the TreeView node content.
193
199
  *
194
200
  * @default false
195
201
  */
@@ -204,19 +210,46 @@ export interface TreeViewModel extends ComponentModel{
204
210
  animation?: NodeAnimationSettingsModel;
205
211
 
206
212
  /**
207
- * The `checkedNodes` property is used to set the nodes that need to be checked or
208
- * get the ID of nodes that are currently checked in the TreeView component.
213
+ * The `checkedNodes` property is used to set the nodes that need to be checked.
214
+ * This property returns the checked nodes ID in the TreeView component.
209
215
  * The `checkedNodes` property depends upon the value of `showCheckBox` property.
210
216
  * For more information on checkedNodes, refer to
211
217
  * [checkedNodes](../../treeview/check-box#checked-nodes).
212
- *
218
+ * ```html
219
+ * <div id="tree"></div>
220
+ * ```
221
+ * ```typescript
222
+ * let treeObj: TreeView = new TreeView({
223
+ * fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
224
+ * showCheckBox: true,
225
+ * checkedNodes: ['01-01','02']
226
+ * });
227
+ * treeObj.appendTo('#tree');
228
+ * ```
213
229
  * @default []
214
230
  */
215
231
  checkedNodes?: string[];
216
232
 
217
233
  /**
218
- * Specifies the CSS classes to be added with root element of the TreeView to help customize the appearance of the component.
219
- *
234
+ * Specifies one or more than one CSS classes to be added with root element of the TreeView to help customize the appearance of the component.
235
+ * ```html
236
+ * <div id="tree"></div>
237
+ * ```
238
+ * ```typescript
239
+ * let treeObj: TreeView = new TreeView({
240
+ * fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
241
+ * cssClass: 'e-custom e-tree'
242
+ * });
243
+ * treeObj.appendTo('#tree');
244
+ * ```
245
+ * ```css
246
+ * .e-custom .e-tree {
247
+ * max-width: 600px;
248
+ * }
249
+ * .e-custom .e-list-item {
250
+ * padding: 10px 0;
251
+ * }
252
+ * ```
220
253
  * @default ''
221
254
  */
222
255
  cssClass?: string;
@@ -230,16 +263,41 @@ export interface TreeViewModel extends ComponentModel{
230
263
  disabled?: boolean;
231
264
 
232
265
  /**
233
- * Defines the area in which the draggable element movement will be occurring. Outside that area will be restricted
234
- * for the draggable element movement. By default, the draggable element movement occurs in the entire page.
235
- *
266
+ * Specifies the target in which the draggable element can be moved and dropped.
267
+ * By default, the draggable element movement occurs in the page.
268
+ * ```html
269
+ * <div id="tree"></div>
270
+ * ```
271
+ * ```typescript
272
+ * let treeObj: TreeView = new TreeView({
273
+ * fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
274
+ * dragArea: '.control_wrapper'
275
+ * });
276
+ * treeObj.appendTo('#tree');
277
+ * ```
278
+ * ```css
279
+ * .control_wrapper {
280
+ * width: 500px;
281
+ * margin-left: 100px;
282
+ * }
283
+ * ```
236
284
  * @default null
237
285
  */
238
286
  dragArea?: HTMLElement | string;
239
287
 
240
288
  /**
241
- * Defines whether to allow the cross-scripting site or not.
242
- *
289
+ * Specifies whether to allow rendering of untrusted HTML values in the TreeView component.
290
+ * While enable this property, it sanitize suspected untrusted strings and script, and update in the TreeView component.
291
+ * ```html
292
+ * <div id="tree"></div>
293
+ * ```
294
+ * ```typescript
295
+ * let treeObj: TreeView = new TreeView({
296
+ * fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
297
+ * enableHtmlSanitizer: true
298
+ * });
299
+ * treeObj.appendTo('#tree');
300
+ * ```
243
301
  * @default false
244
302
  */
245
303
  enableHtmlSanitizer?: boolean;
@@ -257,20 +315,40 @@ export interface TreeViewModel extends ComponentModel{
257
315
  /**
258
316
  * Represents the expanded nodes in the TreeView component. We can set the nodes that need to be
259
317
  * expanded or get the ID of the nodes that are currently expanded by using this property.
260
- *
318
+ * ```html
319
+ * <div id='tree'></div>
320
+ * ```
321
+ * ```typescript
322
+ * <script>
323
+ * var treeObj = new TreeView({
324
+ * fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
325
+ * expandedNodes: ['01','01-01','02']
326
+ * });
327
+ * treeObj.appendTo('#tree');
328
+ * </script>
329
+ * ```
261
330
  * @default []
262
331
  */
263
332
  expandedNodes?: string[];
264
333
 
265
334
  /**
266
- * Specifies the action on which the node expands or collapses. The available actions are,
267
- * * `Auto` - In desktop, the expand/collapse operation happens when you double-click the node, and in mobile devices it
268
- * happens on single-click.
269
- * * `Click` - The expand/collapse operation happens when you single-click the node in both desktop and mobile devices.
270
- * * `DblClick` - The expand/collapse operation happens when you double-click the node in both desktop and mobile devices.
271
- * * `None` - The expand/collapse operation will not happen when you single-click or double-click the node in both desktop
272
- * and mobile devices.
273
- *
335
+ * Specifies the action on which the node expands or collapses.
336
+ * The available actions :
337
+ * `Click` - The expand/collapse operation happens when you single-click on the node in desktop.
338
+ * `DblClick` - The expand/collapse operation happens when you double-click on the node in desktop.
339
+ * `None` - The expand/collapse operation will not happen.
340
+ * In mobile devices, the node expand/collapse action happens on single tap.
341
+ * Here ExpandOn attribute is set to single click property also can use double click and none property.
342
+ * ```html
343
+ * <div id="tree"></div>
344
+ * ```
345
+ * ```typescript
346
+ * let treeObj: TreeView = new TreeView({
347
+ * fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
348
+ * expandOn: 'Click'
349
+ * });
350
+ * treeObj.appendTo('#tree');
351
+ * ```
274
352
  * @default 'Auto'
275
353
  */
276
354
  expandOn?: ExpandOnSettings;
@@ -327,7 +405,17 @@ export interface TreeViewModel extends ComponentModel{
327
405
  * it we can select only a single node.
328
406
  * For more information on selectedNodes, refer to
329
407
  * [selectedNodes](../../treeview/multiple-selection#selected-nodes).
330
- *
408
+ * ```html
409
+ * <div id="tree"></div>
410
+ * ```
411
+ * ```typescript
412
+ * let treeObj: TreeView = new TreeView({
413
+ * fields: { dataSource: hierarchicalData, id: 'id', text: 'name', child: 'subChild' },
414
+ * allowMultiSelection: true,
415
+ * selectedNodes: ['01','02']
416
+ * });
417
+ * treeObj.appendTo('#tree');
418
+ * ```
331
419
  * @default []
332
420
  */
333
421
  selectedNodes?: string[];
@@ -367,14 +455,14 @@ export interface TreeViewModel extends ComponentModel{
367
455
  fullRowNavigable?: boolean;
368
456
 
369
457
  /**
370
-      * Triggers when any TreeView action failed to fetch the desired results.
458
+      * Event callback that is raised while any TreeView action failed to fetch the desired results.
371
459
  *
372
460
       * @event
373
461
       */
374
462
  actionFailure?: EmitType<FailureEventArgs>;
375
463
 
376
464
  /**
377
- * Triggers when the TreeView control is created successfully.
465
+ * Event callback that is raised when the TreeView component is created successfully.
378
466
  *
379
467
  * @event
380
468
  */
@@ -382,14 +470,14 @@ export interface TreeViewModel extends ComponentModel{
382
470
  created?: EmitType<Object>;
383
471
 
384
472
  /**
385
-      * Triggers when data source is populated in the TreeView.
473
+      * Event callback that is raised when data source is populated in the TreeView.
386
474
  *
387
475
       * @event
388
476
       */
389
477
  dataBound?: EmitType<DataBoundEventArgs>;
390
478
 
391
479
  /**
392
-      * Triggers when data source is changed in the TreeView. The data source will be changed after performing some operation like
480
+      * Event callback that is raised when data source is changed in the TreeView. The data source will be changed after performing some operation like
393
481
  * drag and drop, node editing, adding and removing node.
394
482
  *
395
483
       * @event
@@ -397,14 +485,14 @@ export interface TreeViewModel extends ComponentModel{
397
485
  dataSourceChanged?: EmitType<DataSourceChangedEventArgs>;
398
486
 
399
487
  /**
400
- * Triggers before the TreeView node is appended to the TreeView element. It helps to customize specific nodes.
488
+ * Event callback that is raised before the TreeView node is appended to the TreeView element. It helps to customize specific nodes.
401
489
  *
402
490
  * @event
403
491
  */
404
492
  drawNode?: EmitType<DrawNodeEventArgs>;
405
493
 
406
494
  /**
407
- * Triggers when the TreeView control is destroyed successfully.
495
+ * Event callback that is raised when the TreeView control is destroyed successfully.
408
496
  *
409
497
  * @event
410
498
  */
@@ -412,49 +500,49 @@ export interface TreeViewModel extends ComponentModel{
412
500
  destroyed?: EmitType<Object>;
413
501
 
414
502
  /**
415
- * Triggers when key press is successful. It helps to customize the operations at key press.
503
+ * Event callback that is raised when key press is successful. It helps to customize the operations at key press.
416
504
  *
417
505
  * @event
418
506
  */
419
507
  keyPress?: EmitType<NodeKeyPressEventArgs>;
420
508
 
421
509
  /**
422
- * Triggers when the TreeView node is checked/unchecked successfully.
510
+ * Event callback that is raised when the TreeView node is checked/unchecked successfully.
423
511
  *
424
512
  * @event
425
513
  */
426
514
  nodeChecked?: EmitType<NodeCheckEventArgs>;
427
515
 
428
516
  /**
429
- * Triggers before the TreeView node is to be checked/unchecked.
517
+ * Event callback that is raised before the TreeView node is to be checked/unchecked.
430
518
  *
431
519
  * @event
432
520
  */
433
521
  nodeChecking?: EmitType<NodeCheckEventArgs>;
434
522
 
435
523
  /**
436
- * Triggers when the TreeView node is clicked successfully.
524
+ * Event callback that is raised when the TreeView node is clicked successfully.
437
525
  *
438
526
  * @event
439
527
  */
440
528
  nodeClicked?: EmitType<NodeClickEventArgs>;
441
529
 
442
530
  /**
443
-      * Triggers when the TreeView node collapses successfully.
531
+      * Event callback that is raised when the TreeView node collapses successfully.
444
532
  *
445
533
       * @event
446
534
       */
447
535
  nodeCollapsed?: EmitType<NodeExpandEventArgs>;
448
536
 
449
537
  /**
450
-      * Triggers before the TreeView node collapses.
538
+      * Event callback that is raised before the TreeView node collapses.
451
539
  *
452
540
       * @event
453
541
       */
454
542
  nodeCollapsing?: EmitType<NodeExpandEventArgs>;
455
543
 
456
544
  /**
457
-      * Triggers when the TreeView node is dragged (moved) continuously.
545
+      * Event callback that is raised when the TreeView node is dragged (moved) continuously.
458
546
  *
459
547
 
460
548
       * @event
@@ -462,63 +550,63 @@ export interface TreeViewModel extends ComponentModel{
462
550
  nodeDragging?: EmitType<DragAndDropEventArgs>;
463
551
 
464
552
  /**
465
-      * Triggers when the TreeView node drag (move) starts.
553
+      * Event callback that is raised when the TreeView node drag (move) starts.
466
554
  *
467
555
       * @event
468
556
       */
469
557
  nodeDragStart?: EmitType<DragAndDropEventArgs>;
470
558
 
471
559
  /**
472
-      * Triggers when the TreeView node drag (move) is stopped.
560
+      * Event callback that is raised when the TreeView node drag (move) is stopped.
473
561
  *
474
562
       * @event
475
563
       */
476
564
  nodeDragStop?: EmitType<DragAndDropEventArgs>;
477
565
 
478
566
  /**
479
-      * Triggers when the TreeView node is dropped on target element successfully.
567
+      * Event callback that is raised when the TreeView node is dropped on target element successfully.
480
568
  *
481
569
       * @event
482
570
       */
483
571
  nodeDropped?: EmitType<DragAndDropEventArgs>;
484
572
 
485
573
  /**
486
-      * Triggers when the TreeView node is renamed successfully.
574
+      * Event callback that is raised when the TreeView node is renamed successfully.
487
575
  *
488
576
       * @event
489
577
       */
490
578
  nodeEdited?: EmitType<NodeEditEventArgs>;
491
579
 
492
580
  /**
493
-      * Triggers before the TreeView node is renamed.
581
+      * Event callback that is raised before the TreeView node is renamed.
494
582
  *
495
583
       * @event
496
584
       */
497
585
  nodeEditing?: EmitType<NodeEditEventArgs>;
498
586
 
499
587
  /**
500
-      * Triggers when the TreeView node expands successfully.
588
+      * Event callback that is raised when the TreeView node expands successfully.
501
589
  *
502
590
       * @event
503
591
       */
504
592
  nodeExpanded?: EmitType<NodeExpandEventArgs>;
505
593
 
506
594
  /**
507
-      * Triggers before the TreeView node is to be expanded.
595
+      * Event callback that is raised before the TreeView node is to be expanded.
508
596
  *
509
597
       * @event
510
598
       */
511
599
  nodeExpanding?: EmitType<NodeExpandEventArgs>;
512
600
 
513
601
  /**
514
-      * Triggers when the TreeView node is selected/unselected successfully.
602
+      * Event callback that is raised when the TreeView node is selected/unselected successfully.
515
603
  *
516
604
       * @event
517
605
       */
518
606
  nodeSelected?: EmitType<NodeSelectEventArgs>;
519
607
 
520
608
  /**
521
-      * Triggers before the TreeView node is selected/unselected.
609
+      * Event callback that is raised before the TreeView node is selected/unselected.
522
610
  *
523
611
       * @event
524
612
       */