@syncfusion/ej2-navigations 20.4.53 → 21.1.37

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 (252) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +213 -143
  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 +90 -25
  7. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  8. package/dist/es6/ej2-navigations.es5.js +94 -29
  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 +13 -12
  14. package/src/accordion/accordion-model.d.ts +4 -4
  15. package/src/accordion/accordion.d.ts +8 -4
  16. package/src/appbar/appbar-model.d.ts +9 -9
  17. package/src/appbar/appbar.d.ts +24 -21
  18. package/src/breadcrumb/breadcrumb-model.d.ts +4 -2
  19. package/src/breadcrumb/breadcrumb.d.ts +32 -3
  20. package/src/breadcrumb/breadcrumb.js +32 -0
  21. package/src/carousel/carousel-model.d.ts +7 -7
  22. package/src/carousel/carousel.d.ts +24 -20
  23. package/src/carousel/carousel.js +25 -11
  24. package/src/common/menu-base.d.ts +13 -2
  25. package/src/menu/menu.d.ts +5 -1
  26. package/src/sidebar/sidebar.d.ts +26 -2
  27. package/src/sidebar/sidebar.js +1 -1
  28. package/src/tab/tab-model.d.ts +20 -20
  29. package/src/tab/tab.d.ts +38 -21
  30. package/src/tab/tab.js +22 -10
  31. package/src/toolbar/toolbar-model.d.ts +22 -16
  32. package/src/toolbar/toolbar.d.ts +48 -16
  33. package/src/toolbar/toolbar.js +10 -4
  34. package/src/treeview/treeview-model.d.ts +4 -4
  35. package/src/treeview/treeview.d.ts +32 -4
  36. package/src/treeview/treeview.js +3 -2
  37. package/styles/accordion/_bootstrap-dark-definition.scss +0 -1
  38. package/styles/accordion/_bootstrap-definition.scss +0 -1
  39. package/styles/accordion/_bootstrap4-definition.scss +0 -1
  40. package/styles/accordion/_bootstrap5-definition.scss +6 -7
  41. package/styles/accordion/_fabric-dark-definition.scss +0 -1
  42. package/styles/accordion/_fabric-definition.scss +0 -1
  43. package/styles/accordion/_fluent-definition.scss +5 -6
  44. package/styles/accordion/_fusionnew-definition.scss +0 -1
  45. package/styles/accordion/_highcontrast-definition.scss +0 -1
  46. package/styles/accordion/_highcontrast-light-definition.scss +0 -1
  47. package/styles/accordion/_layout.scss +0 -1
  48. package/styles/accordion/_material-dark-definition.scss +0 -1
  49. package/styles/accordion/_material-definition.scss +0 -1
  50. package/styles/accordion/_tailwind-definition.scss +5 -6
  51. package/styles/accordion/bootstrap-dark.css +0 -1
  52. package/styles/accordion/bootstrap.css +0 -1
  53. package/styles/accordion/bootstrap4.css +0 -1
  54. package/styles/accordion/bootstrap5-dark.css +3 -4
  55. package/styles/accordion/bootstrap5.css +3 -4
  56. package/styles/accordion/fabric-dark.css +0 -1
  57. package/styles/accordion/fabric.css +0 -1
  58. package/styles/accordion/fluent-dark.css +3 -4
  59. package/styles/accordion/fluent.css +3 -4
  60. package/styles/accordion/highcontrast-light.css +0 -1
  61. package/styles/accordion/highcontrast.css +0 -1
  62. package/styles/accordion/material-dark.css +0 -1
  63. package/styles/accordion/material.css +0 -1
  64. package/styles/accordion/tailwind-dark.css +3 -4
  65. package/styles/accordion/tailwind.css +3 -4
  66. package/styles/appbar/_bootstrap5-definition.scss +2 -2
  67. package/styles/appbar/_fluent-definition.scss +2 -2
  68. package/styles/appbar/_layout.scss +3 -0
  69. package/styles/appbar/_tailwind-definition.scss +2 -2
  70. package/styles/appbar/bootstrap-dark.css +3 -0
  71. package/styles/appbar/bootstrap.css +3 -0
  72. package/styles/appbar/bootstrap4.css +3 -0
  73. package/styles/appbar/bootstrap5-dark.css +3 -0
  74. package/styles/appbar/bootstrap5.css +3 -0
  75. package/styles/appbar/fabric-dark.css +3 -0
  76. package/styles/appbar/fabric.css +3 -0
  77. package/styles/appbar/fluent-dark.css +3 -0
  78. package/styles/appbar/fluent.css +3 -0
  79. package/styles/appbar/highcontrast-light.css +3 -0
  80. package/styles/appbar/highcontrast.css +3 -0
  81. package/styles/appbar/material-dark.css +3 -0
  82. package/styles/appbar/material.css +3 -0
  83. package/styles/appbar/tailwind-dark.css +3 -0
  84. package/styles/appbar/tailwind.css +3 -0
  85. package/styles/bootstrap-dark.css +669 -938
  86. package/styles/bootstrap.css +658 -927
  87. package/styles/bootstrap4.css +724 -993
  88. package/styles/bootstrap5-dark.css +685 -954
  89. package/styles/bootstrap5.css +686 -955
  90. package/styles/breadcrumb/_bootstrap5-definition.scss +2 -2
  91. package/styles/breadcrumb/_fluent-definition.scss +2 -2
  92. package/styles/breadcrumb/_layout.scss +2 -2
  93. package/styles/breadcrumb/_tailwind-definition.scss +2 -2
  94. package/styles/breadcrumb/_theme.scss +18 -2
  95. package/styles/carousel/_layout.scss +7 -0
  96. package/styles/carousel/bootstrap-dark.css +4 -0
  97. package/styles/carousel/bootstrap.css +4 -0
  98. package/styles/carousel/bootstrap4.css +4 -0
  99. package/styles/carousel/bootstrap5-dark.css +4 -0
  100. package/styles/carousel/bootstrap5.css +4 -0
  101. package/styles/carousel/fabric-dark.css +4 -0
  102. package/styles/carousel/fabric.css +4 -0
  103. package/styles/carousel/fluent-dark.css +4 -0
  104. package/styles/carousel/fluent.css +4 -0
  105. package/styles/carousel/highcontrast-light.css +4 -0
  106. package/styles/carousel/highcontrast.css +4 -0
  107. package/styles/carousel/material-dark.css +4 -0
  108. package/styles/carousel/material.css +4 -0
  109. package/styles/carousel/tailwind-dark.css +4 -0
  110. package/styles/carousel/tailwind.css +4 -0
  111. package/styles/context-menu/_bootstrap5-definition.scss +3 -3
  112. package/styles/context-menu/_fluent-definition.scss +2 -2
  113. package/styles/context-menu/_tailwind-definition.scss +3 -3
  114. package/styles/fabric-dark.css +669 -938
  115. package/styles/fabric.css +669 -938
  116. package/styles/fluent-dark.css +677 -946
  117. package/styles/fluent.css +677 -946
  118. package/styles/h-scroll/_bootstrap-dark-definition.scss +0 -1
  119. package/styles/h-scroll/_bootstrap-definition.scss +0 -1
  120. package/styles/h-scroll/_bootstrap4-definition.scss +0 -1
  121. package/styles/h-scroll/_bootstrap5-definition.scss +0 -1
  122. package/styles/h-scroll/_fabric-dark-definition.scss +0 -1
  123. package/styles/h-scroll/_fabric-definition.scss +0 -1
  124. package/styles/h-scroll/_fluent-definition.scss +0 -1
  125. package/styles/h-scroll/_fusionnew-definition.scss +0 -1
  126. package/styles/h-scroll/_highcontrast-definition.scss +0 -1
  127. package/styles/h-scroll/_highcontrast-light-definition.scss +0 -1
  128. package/styles/h-scroll/_layout.scss +1 -0
  129. package/styles/h-scroll/_material-dark-definition.scss +0 -1
  130. package/styles/h-scroll/_material-definition.scss +0 -1
  131. package/styles/h-scroll/_tailwind-definition.scss +0 -1
  132. package/styles/h-scroll/_theme.scss +0 -1
  133. package/styles/h-scroll/bootstrap-dark.css +1 -1
  134. package/styles/h-scroll/bootstrap.css +1 -1
  135. package/styles/h-scroll/bootstrap4.css +1 -1
  136. package/styles/h-scroll/bootstrap5-dark.css +1 -1
  137. package/styles/h-scroll/bootstrap5.css +1 -1
  138. package/styles/h-scroll/fabric-dark.css +1 -1
  139. package/styles/h-scroll/fabric.css +1 -1
  140. package/styles/h-scroll/fluent-dark.css +1 -1
  141. package/styles/h-scroll/fluent.css +1 -1
  142. package/styles/h-scroll/highcontrast-light.css +1 -1
  143. package/styles/h-scroll/highcontrast.css +1 -1
  144. package/styles/h-scroll/material-dark.css +1 -1
  145. package/styles/h-scroll/material.css +1 -1
  146. package/styles/h-scroll/tailwind-dark.css +1 -1
  147. package/styles/h-scroll/tailwind.css +1 -1
  148. package/styles/highcontrast-light.css +668 -937
  149. package/styles/highcontrast.css +675 -944
  150. package/styles/material-dark.css +669 -938
  151. package/styles/material.css +661 -930
  152. package/styles/menu/_bootstrap5-definition.scss +2 -2
  153. package/styles/menu/_layout.scss +1 -1
  154. package/styles/menu/_tailwind-definition.scss +2 -2
  155. package/styles/menu/_theme.scss +31 -15
  156. package/styles/menu/bootstrap-dark.css +7 -7
  157. package/styles/menu/bootstrap.css +7 -7
  158. package/styles/menu/bootstrap4.css +10 -10
  159. package/styles/menu/bootstrap5-dark.css +7 -7
  160. package/styles/menu/bootstrap5.css +7 -7
  161. package/styles/menu/fabric-dark.css +7 -7
  162. package/styles/menu/fabric.css +7 -7
  163. package/styles/menu/fluent-dark.css +7 -7
  164. package/styles/menu/fluent.css +7 -7
  165. package/styles/menu/highcontrast-light.css +7 -7
  166. package/styles/menu/highcontrast.css +7 -7
  167. package/styles/menu/icons/_material3.scss +12 -12
  168. package/styles/menu/material-dark.css +7 -7
  169. package/styles/menu/material.css +7 -7
  170. package/styles/menu/tailwind-dark.css +7 -7
  171. package/styles/menu/tailwind.css +7 -7
  172. package/styles/sidebar/_theme.scss +1 -1
  173. package/styles/tab/_bootstrap-dark-definition.scss +0 -2
  174. package/styles/tab/_bootstrap-definition.scss +0 -2
  175. package/styles/tab/_bootstrap4-definition.scss +1 -3
  176. package/styles/tab/_bootstrap5-definition.scss +12 -14
  177. package/styles/tab/_fabric-dark-definition.scss +0 -2
  178. package/styles/tab/_fabric-definition.scss +0 -2
  179. package/styles/tab/_fluent-definition.scss +4 -6
  180. package/styles/tab/_fusionnew-definition.scss +2 -4
  181. package/styles/tab/_highcontrast-definition.scss +0 -2
  182. package/styles/tab/_highcontrast-light-definition.scss +0 -2
  183. package/styles/tab/_layout.scss +8 -6
  184. package/styles/tab/_material-dark-definition.scss +0 -2
  185. package/styles/tab/_material-definition.scss +0 -2
  186. package/styles/tab/_tailwind-definition.scss +3 -5
  187. package/styles/tab/_theme.scss +0 -1
  188. package/styles/tab/bootstrap-dark.css +5 -2
  189. package/styles/tab/bootstrap.css +5 -2
  190. package/styles/tab/bootstrap4.css +12 -9
  191. package/styles/tab/bootstrap5-dark.css +11 -8
  192. package/styles/tab/bootstrap5.css +11 -8
  193. package/styles/tab/fabric-dark.css +7 -4
  194. package/styles/tab/fabric.css +7 -4
  195. package/styles/tab/fluent-dark.css +8 -5
  196. package/styles/tab/fluent.css +8 -5
  197. package/styles/tab/highcontrast-light.css +10 -7
  198. package/styles/tab/highcontrast.css +10 -7
  199. package/styles/tab/material-dark.css +4 -1
  200. package/styles/tab/material.css +4 -1
  201. package/styles/tab/tailwind-dark.css +8 -5
  202. package/styles/tab/tailwind.css +8 -5
  203. package/styles/tailwind-dark.css +668 -937
  204. package/styles/tailwind.css +668 -937
  205. package/styles/toolbar/_bootstrap-dark-definition.scss +13 -41
  206. package/styles/toolbar/_bootstrap-definition.scss +13 -41
  207. package/styles/toolbar/_bootstrap4-definition.scss +15 -43
  208. package/styles/toolbar/_bootstrap5-definition.scss +21 -49
  209. package/styles/toolbar/_fabric-dark-definition.scss +14 -43
  210. package/styles/toolbar/_fabric-definition.scss +15 -43
  211. package/styles/toolbar/_fluent-definition.scss +22 -50
  212. package/styles/toolbar/_fusionnew-definition.scss +17 -45
  213. package/styles/toolbar/_highcontrast-definition.scss +15 -43
  214. package/styles/toolbar/_highcontrast-light-definition.scss +14 -43
  215. package/styles/toolbar/_layout.scss +684 -977
  216. package/styles/toolbar/_material-dark-definition.scss +19 -49
  217. package/styles/toolbar/_material-definition.scss +21 -49
  218. package/styles/toolbar/_tailwind-definition.scss +21 -49
  219. package/styles/toolbar/_theme.scss +205 -294
  220. package/styles/toolbar/bootstrap-dark.css +647 -925
  221. package/styles/toolbar/bootstrap.css +638 -916
  222. package/styles/toolbar/bootstrap4.css +657 -935
  223. package/styles/toolbar/bootstrap5-dark.css +658 -936
  224. package/styles/toolbar/bootstrap5.css +658 -936
  225. package/styles/toolbar/fabric-dark.css +645 -923
  226. package/styles/toolbar/fabric.css +651 -929
  227. package/styles/toolbar/fluent-dark.css +650 -928
  228. package/styles/toolbar/fluent.css +650 -928
  229. package/styles/toolbar/highcontrast-light.css +642 -920
  230. package/styles/toolbar/highcontrast.css +647 -925
  231. package/styles/toolbar/material-dark.css +649 -927
  232. package/styles/toolbar/material.css +646 -924
  233. package/styles/toolbar/tailwind-dark.css +647 -925
  234. package/styles/toolbar/tailwind.css +645 -923
  235. package/styles/treeview/_bootstrap5-definition.scss +5 -5
  236. package/styles/treeview/_fluent-definition.scss +5 -5
  237. package/styles/treeview/_layout.scss +8 -4
  238. package/styles/treeview/_tailwind-definition.scss +5 -5
  239. package/styles/treeview/_theme.scss +6 -3
  240. package/styles/accordion/_material3-definition.scss +0 -181
  241. package/styles/appbar/_material3-definition.scss +0 -8
  242. package/styles/breadcrumb/_material3-definition.scss +0 -59
  243. package/styles/carousel/_material3-definition.scss +0 -22
  244. package/styles/context-menu/_material3-definition.scss +0 -52
  245. package/styles/h-scroll/_material3-definition.scss +0 -84
  246. package/styles/menu/_material3-definition.scss +0 -67
  247. package/styles/pager/_material3-definition.scss +0 -146
  248. package/styles/sidebar/_material3-definition.scss +0 -6
  249. package/styles/tab/_material3-definition.scss +0 -658
  250. package/styles/toolbar/_material3-definition.scss +0 -248
  251. package/styles/treeview/_material3-definition.scss +0 -120
  252. package/styles/v-scroll/_material3-definition.scss +0 -49
@@ -4,11 +4,35 @@ import { SidebarModel } from './sidebar-model';
4
4
  /**
5
5
  * Specifies the Sidebar types.
6
6
  */
7
- export declare type SidebarType = 'Slide' | 'Over' | 'Push' | 'Auto';
7
+ export declare type SidebarType =
8
+ /**
9
+ * Specifies the animation sliding while opening the sidebar.
10
+ */
11
+ 'Slide' |
12
+ /**
13
+ * Specifies the sidebar appearing over the main content.
14
+ */
15
+ 'Over' |
16
+ /**
17
+ * Specifies the sidebar pushing the main content.
18
+ */
19
+ 'Push' |
20
+ /**
21
+ * Specifies that the sidebar opens automatically.
22
+ */
23
+ 'Auto';
8
24
  /**
9
25
  * Specifies the Sidebar positions.
10
26
  */
11
- export declare type SidebarPosition = 'Left' | 'Right';
27
+ export declare type SidebarPosition =
28
+ /**
29
+ * Sidebar positions to the Left in relation to the main content.
30
+ */
31
+ 'Left' |
32
+ /**
33
+ * Sidebar positions to the Right in relation to the main content.
34
+ */
35
+ 'Right';
12
36
  /**
13
37
  * Sidebar is an expandable or collapsible
14
38
  * component that typically act as a side container to place the primary or secondary content alongside of the main content.
@@ -151,7 +151,7 @@ var Sidebar = /** @class */ (function (_super) {
151
151
  setStyle(this.element, { 'z-index': '' + this.zIndex });
152
152
  };
153
153
  Sidebar.prototype.addClass = function () {
154
- if (this.element.tagName === "EJS-SIDEBAR") {
154
+ if (this.element.tagName === 'EJS-SIDEBAR') {
155
155
  addClass([this.element], DISPLAY);
156
156
  }
157
157
  var classELement = document.querySelector('.e-main-content');
@@ -73,11 +73,11 @@ export interface HeaderModel {
73
73
 
74
74
  /**
75
75
  * Options for positioning the icon in the Tab item header. This property depends on `iconCss` property.
76
- * The possible values are:
77
- * - Left: Places the icon to the `left` of the item.
78
- * - Top: Places the icon on the `top` of the item.
79
- * - Right: Places the icon to the `right` end of the item.
80
- * - Bottom: Places the icon at the `bottom` of the item.
76
+ * The possible values for this property as follows
77
+ * * `Left`: Places the icon to the left of the item.
78
+ * * `Top`: Places the icon on the top of the item.
79
+ * * `Right`: Places the icon to the right end of the item.
80
+ * * `Bottom`: Places the icon at the bottom of the item.
81
81
  *
82
82
  * @default 'left'
83
83
  */
@@ -212,11 +212,11 @@ export interface TabModel extends ComponentModel{
212
212
 
213
213
  /**
214
214
  * Specifies the orientation of Tab header.
215
- * The possible values are:
216
- * - Top: Places the Tab header on the top.
217
- * - Bottom: Places the Tab header at the bottom.
218
- * - Left: Places the Tab header on the left.
219
- * - Right: Places the Tab header at the right.
215
+ * The possible values for this property as follows
216
+ * * `Top`: Places the Tab header on the top.
217
+ * * `Bottom`: Places the Tab header at the bottom.
218
+ * * `Left`: Places the Tab header on the left.
219
+ * * `Right`: Places the Tab header at the right.
220
220
  *
221
221
  * @default 'Top'
222
222
  */
@@ -224,11 +224,11 @@ export interface TabModel extends ComponentModel{
224
224
 
225
225
  /**
226
226
  * Specifies the height style for Tab content.
227
- * The possible values are:
228
- * - None: Based on the given height property, the content panel height is set.
229
- * - Auto: Tallest panel height of a given Tab content is set to all the other panels.
230
- * - Content: Based on the corresponding content height, the content panel height is set.
231
- * - Fill: Based on the parent height, the content panel height is set.
227
+ * The possible values for this property as follows
228
+ * * `None`: Based on the given height property, the content panel height is set.
229
+ * * `Auto`: Tallest panel height of a given Tab content is set to all the other panels.
230
+ * * `Content`: Based on the corresponding content height, the content panel height is set.
231
+ * * `Fill`: Based on the parent height, the content panel height is set.
232
232
  *
233
233
  * @default 'Content'
234
234
  */
@@ -237,8 +237,8 @@ export interface TabModel extends ComponentModel{
237
237
  /**
238
238
  * Specifies the Tab display mode when Tab content exceeds the viewing area.
239
239
  * The possible modes are:
240
- * - Scrollable: All the elements are displayed in a single line with horizontal scrolling enabled.
241
- * - Popup: Tab container holds the items that can be placed within the available space and rest of the items are moved to the popup.
240
+ * * `Scrollable`: All the elements are displayed in a single line with horizontal scrolling enabled.
241
+ * * `Popup`: Tab container holds the items that can be placed within the available space and rest of the items are moved to the popup.
242
242
  * If the popup content overflows the height of the page, the rest of the elements can be viewed by scrolling the popup.
243
243
  *
244
244
  * @default 'Scrollable'
@@ -248,9 +248,9 @@ export interface TabModel extends ComponentModel{
248
248
  /**
249
249
  * Specifies the modes for Tab content.
250
250
  * The possible modes are:
251
- * `Dynamic` Load Tab content dynamically at the time of switching it's header.
252
- * `Init` Load all tab contents at initial load.
253
- * `Demand` Load Tab content when required but keep content once it is rendered.
251
+ * * `Demand` - The content of the selected tab alone is loaded initially. The content of the tabs which were loaded once will be maintained in the DOM.
252
+ * * `Dynamic` - The content of all the tabs are rendered on the initial load and maintained in the DOM.
253
+ * * `Init` - The content of all the tabs are rendered on the initial load and maintained in the DOM.
254
254
  *
255
255
  * @default 'Dynamic'
256
256
  */
package/src/tab/tab.d.ts CHANGED
@@ -6,15 +6,32 @@ import { OverflowMode } from '../toolbar/toolbar';
6
6
  import { TabModel, TabItemModel, HeaderModel, TabActionSettingsModel, TabAnimationSettingsModel } from './tab-model';
7
7
  declare type HTEle = HTMLElement;
8
8
  /**
9
- * Options to set the orientation of Tab header.
9
+ * Specifies the orientation of the Tab header.
10
+ * ```props
11
+ * Top :- Places the Tab header on the top.
12
+ * Bottom :- Places the Tab header on the bottom.
13
+ * Left :- Places the Tab header on the left.
14
+ * Right :- Places the Tab header on the right.
15
+ * ```
10
16
  */
11
17
  export declare type HeaderPosition = 'Top' | 'Bottom' | 'Left' | 'Right';
12
18
  /**
13
19
  * Options to set the content element height adjust modes.
20
+ * ```props
21
+ * None :- Based on the given height property, the content panel height is set.
22
+ * Auto :- Tallest panel height of a given Tab content is set to all the other panels.
23
+ * Content :- Based on the corresponding content height, the content panel height is set.
24
+ * Fill :- Content element take height based on the parent height.
25
+ * ```
14
26
  */
15
27
  export declare type HeightStyles = 'None' | 'Auto' | 'Content' | 'Fill';
16
28
  /**
17
29
  * Specifies the options of Tab content display mode.
30
+ * ```props
31
+ * Demand :- The content of the selected tab alone is loaded initially. The content of the tabs which were loaded once will be maintained in the DOM.
32
+ * Dynamic :- The content of all the tabs are rendered on the initial load and maintained in the DOM.
33
+ * Init :- The content of all the tabs are rendered on the initial load and maintained in the DOM.
34
+ * ```
18
35
  */
19
36
  export declare type ContentLoad = 'Dynamic' | 'Init' | 'Demand';
20
37
  /** An interface that holds options to control the selected item action. */
@@ -139,11 +156,11 @@ export declare class Header extends ChildProperty<Header> {
139
156
  iconCss: string;
140
157
  /**
141
158
  * Options for positioning the icon in the Tab item header. This property depends on `iconCss` property.
142
- * The possible values are:
143
- * - Left: Places the icon to the `left` of the item.
144
- * - Top: Places the icon on the `top` of the item.
145
- * - Right: Places the icon to the `right` end of the item.
146
- * - Bottom: Places the icon at the `bottom` of the item.
159
+ * The possible values for this property as follows
160
+ * * `Left`: Places the icon to the left of the item.
161
+ * * `Top`: Places the icon on the top of the item.
162
+ * * `Right`: Places the icon to the right end of the item.
163
+ * * `Bottom`: Places the icon at the bottom of the item.
147
164
  *
148
165
  * @default 'left'
149
166
  */
@@ -319,22 +336,22 @@ export declare class Tab extends Component<HTMLElement> implements INotifyProper
319
336
  selectedItem: number;
320
337
  /**
321
338
  * Specifies the orientation of Tab header.
322
- * The possible values are:
323
- * - Top: Places the Tab header on the top.
324
- * - Bottom: Places the Tab header at the bottom.
325
- * - Left: Places the Tab header on the left.
326
- * - Right: Places the Tab header at the right.
339
+ * The possible values for this property as follows
340
+ * * `Top`: Places the Tab header on the top.
341
+ * * `Bottom`: Places the Tab header at the bottom.
342
+ * * `Left`: Places the Tab header on the left.
343
+ * * `Right`: Places the Tab header at the right.
327
344
  *
328
345
  * @default 'Top'
329
346
  */
330
347
  headerPlacement: HeaderPosition;
331
348
  /**
332
349
  * Specifies the height style for Tab content.
333
- * The possible values are:
334
- * - None: Based on the given height property, the content panel height is set.
335
- * - Auto: Tallest panel height of a given Tab content is set to all the other panels.
336
- * - Content: Based on the corresponding content height, the content panel height is set.
337
- * - Fill: Based on the parent height, the content panel height is set.
350
+ * The possible values for this property as follows
351
+ * * `None`: Based on the given height property, the content panel height is set.
352
+ * * `Auto`: Tallest panel height of a given Tab content is set to all the other panels.
353
+ * * `Content`: Based on the corresponding content height, the content panel height is set.
354
+ * * `Fill`: Based on the parent height, the content panel height is set.
338
355
  *
339
356
  * @default 'Content'
340
357
  */
@@ -342,8 +359,8 @@ export declare class Tab extends Component<HTMLElement> implements INotifyProper
342
359
  /**
343
360
  * Specifies the Tab display mode when Tab content exceeds the viewing area.
344
361
  * The possible modes are:
345
- * - Scrollable: All the elements are displayed in a single line with horizontal scrolling enabled.
346
- * - Popup: Tab container holds the items that can be placed within the available space and rest of the items are moved to the popup.
362
+ * * `Scrollable`: All the elements are displayed in a single line with horizontal scrolling enabled.
363
+ * * `Popup`: Tab container holds the items that can be placed within the available space and rest of the items are moved to the popup.
347
364
  * If the popup content overflows the height of the page, the rest of the elements can be viewed by scrolling the popup.
348
365
  *
349
366
  * @default 'Scrollable'
@@ -352,9 +369,9 @@ export declare class Tab extends Component<HTMLElement> implements INotifyProper
352
369
  /**
353
370
  * Specifies the modes for Tab content.
354
371
  * The possible modes are:
355
- * `Dynamic` Load Tab content dynamically at the time of switching it's header.
356
- * `Init` Load all tab contents at initial load.
357
- * `Demand` Load Tab content when required but keep content once it is rendered.
372
+ * * `Demand` - The content of the selected tab alone is loaded initially. The content of the tabs which were loaded once will be maintained in the DOM.
373
+ * * `Dynamic` - The content of all the tabs are rendered on the initial load and maintained in the DOM.
374
+ * * `Init` - The content of all the tabs are rendered on the initial load and maintained in the DOM.
358
375
  *
359
376
  * @default 'Dynamic'
360
377
  */
package/src/tab/tab.js CHANGED
@@ -406,7 +406,7 @@ var Tab = /** @class */ (function (_super) {
406
406
  }).outerHTML;
407
407
  var wrap = _this.createElement('div', {
408
408
  className: CLS_WRAP, innerHTML: cont,
409
- attrs: { role: 'tab', tabIndex: '-1', 'aria-selected': 'false', 'aria-controls': CLS_CONTENT + _this.tabId + '_' + index }
409
+ attrs: { role: 'tab', tabIndex: '-1', 'aria-selected': 'false', 'aria-controls': CLS_CONTENT + _this.tabId + '_' + index, 'aria-disabled': 'false' }
410
410
  });
411
411
  tabItems_1.appendChild(_this.createElement('div', attr));
412
412
  selectAll('.' + CLS_ITEM, tabItems_1)[index].appendChild(wrap);
@@ -536,7 +536,7 @@ var Tab = /** @class */ (function (_super) {
536
536
  }
537
537
  }
538
538
  var tabIndex = isNOU(item.tabIndex) ? '-1' : item.tabIndex.toString();
539
- var wrapAttrs = (item.disabled) ? {} : { tabIndex: tabIndex, 'data-tabindex': tabIndex, role: 'tab', 'aria-selected': 'false' };
539
+ var wrapAttrs = (item.disabled) ? {} : { tabIndex: tabIndex, 'data-tabindex': tabIndex, role: 'tab', 'aria-selected': 'false', 'aria-disabled': 'false' };
540
540
  tCont.appendChild(_this.btnCls.cloneNode(true));
541
541
  var wrap = _this.createElement('div', { className: CLS_WRAP, attrs: wrapAttrs });
542
542
  wrap.appendChild(tCont);
@@ -1356,6 +1356,7 @@ var Tab = /** @class */ (function (_super) {
1356
1356
  var scrCnt = select('.' + this.scrCntClass, this.tbItems);
1357
1357
  if (!this.isVertical() && !isNOU(scrCnt)) {
1358
1358
  var scrBar = select('.e-hscroll-bar', this.tbItems);
1359
+ scrBar.removeAttribute('tabindex');
1359
1360
  var scrStart = scrBar.scrollLeft;
1360
1361
  var scrEnd = scrStart + scrBar.offsetWidth;
1361
1362
  var eleStart = target.offsetLeft;
@@ -1728,7 +1729,7 @@ var Tab = /** @class */ (function (_super) {
1728
1729
  this.items[index].disabled = !value;
1729
1730
  this.dataBind();
1730
1731
  }
1731
- tbItems.setAttribute('aria-disabled', (value === true) ? 'false' : 'true');
1732
+ tbItems.firstElementChild.setAttribute('aria-disabled', (value === true) ? 'false' : 'true');
1732
1733
  };
1733
1734
  /**
1734
1735
  * Adds new items to the Tab that accepts an array as Tab items.
@@ -1850,13 +1851,14 @@ var Tab = /** @class */ (function (_super) {
1850
1851
  var cntTrg = select('#' + CLS_CONTENT + _this.tabId + '_' + _this.extIndex(trg.id), select('.' + CLS_CONTENT, _this.element));
1851
1852
  if (!isNOU(cntTrg)) {
1852
1853
  var registeredTemplate = _this.registeredTemplate;
1854
+ var portal = _this.portals;
1853
1855
  if (registeredTemplate && registeredTemplate.content) {
1854
1856
  var templateToClear = [];
1855
- for (var i = 0; i < registeredTemplate.content.length; i++) {
1856
- var registeredItem = registeredTemplate.content[i].rootNodes[0];
1857
- var closestItem = closest(registeredItem, '.' + CLS_ITEM);
1858
- if (!isNullOrUndefined(registeredItem) && closestItem === cntTrg) {
1859
- templateToClear.push(registeredTemplate.content[i]);
1857
+ for (var i_2 = 0; i_2 < registeredTemplate.content.length; i_2++) {
1858
+ var registeredItem = registeredTemplate.content[i_2].rootNodes[0];
1859
+ var closestItem_1 = closest(registeredItem, '.' + CLS_ITEM);
1860
+ if (!isNullOrUndefined(registeredItem) && closestItem_1 === cntTrg) {
1861
+ templateToClear.push(registeredTemplate.content[i_2]);
1860
1862
  break;
1861
1863
  }
1862
1864
  }
@@ -1864,6 +1866,16 @@ var Tab = /** @class */ (function (_super) {
1864
1866
  _this.clearTemplate(['content'], templateToClear);
1865
1867
  }
1866
1868
  }
1869
+ else if (portal) {
1870
+ for (var i = 0; i < portal.length; i++) {
1871
+ var portalItem = portal[i];
1872
+ var closestItem = closest(portalItem.containerInfo, '.' + CLS_ITEM);
1873
+ if (!isNullOrUndefined(portalItem) && closestItem === cntTrg) {
1874
+ _this.clearTemplate(['content'], i);
1875
+ break;
1876
+ }
1877
+ }
1878
+ }
1867
1879
  detach(cntTrg);
1868
1880
  }
1869
1881
  _this.trigger('removed', tabRemovingArgs);
@@ -2240,7 +2252,7 @@ var Tab = /** @class */ (function (_super) {
2240
2252
  }
2241
2253
  }
2242
2254
  var tabIndex = isNOU(item.tabIndex) ? '-1' : item.tabIndex.toString();
2243
- var wrapAtt = (item.disabled) ? {} : { tabIndex: tabIndex, 'data-tabindex': tabIndex, role: 'tab', 'aria-selected': 'true' };
2255
+ var wrapAtt = (item.disabled) ? {} : { tabIndex: tabIndex, 'data-tabindex': tabIndex, role: 'tab', 'aria-selected': 'true', 'aria-disabled': 'false' };
2244
2256
  tConts.appendChild(this.btnCls.cloneNode(true));
2245
2257
  var wraper = this.createElement('div', { className: CLS_WRAP, attrs: wrapAtt });
2246
2258
  wraper.appendChild(tConts);
@@ -2302,7 +2314,7 @@ var Tab = /** @class */ (function (_super) {
2302
2314
  var tabIndex = element.firstElementChild.getAttribute('data-tabindex');
2303
2315
  var wrap = this.createElement('div', {
2304
2316
  className: CLS_WRAP, innerHTML: conte,
2305
- attrs: { tabIndex: tabIndex, 'data-tabindex': tabIndex, role: 'tab', 'aria-controls': CLS_CONTENT + this.tabId + '_' + index, 'aria-selected': 'true' }
2317
+ attrs: { tabIndex: tabIndex, 'data-tabindex': tabIndex, role: 'tab', 'aria-controls': CLS_CONTENT + this.tabId + '_' + index, 'aria-selected': 'true', 'aria-disabled': 'false' }
2306
2318
  });
2307
2319
  tabItems.insertBefore(this.createElement('div', attr), tabItems.children[index + 1]);
2308
2320
  this.element.querySelector('.' + CLS_TB_ITEM + '.' + CLS_ACTIVE).appendChild(wrap);
@@ -75,10 +75,10 @@ export interface ItemModel {
75
75
 
76
76
  /**
77
77
  * Specifies the Toolbar command display area when an element's content is too large to fit available space.
78
- * This is applicable only to `popup` mode. Possible values are:
79
- * - Show: Always shows the item as the primary priority on the *Toolbar*.
80
- * - Hide: Always shows the item as the secondary priority on the *popup*.
81
- * - None: No priority for display, and as per normal order moves to popup when content exceeds.
78
+ * This is applicable only to `popup` mode. The possible values for this property as follows
79
+ * * `Show`: Always shows the item as the primary priority on the *Toolbar*.
80
+ * * `Hide`: Always shows the item as the secondary priority on the *popup*.
81
+ * * `None`: No priority for display, and as per normal order moves to popup when content exceeds.
82
82
  *
83
83
  * @default 'None'
84
84
  */
@@ -97,9 +97,9 @@ export interface ItemModel {
97
97
  /**
98
98
  * Specifies the types of command to be rendered in the Toolbar.
99
99
  * Supported types are:
100
- * - Button: Creates the Button control with its given properties like text, prefixIcon, etc.
101
- * - Separator: Adds a horizontal line that separates the Toolbar commands.
102
- * - Input: Creates an input element that is applicable to template rendering with Syncfusion controls like DropDownList,
100
+ * * `Button`: Creates the Button control with its given properties like text, prefixIcon, etc.
101
+ * * `Separator`: Adds a horizontal line that separates the Toolbar commands.
102
+ * * `Input`: Creates an input element that is applicable to template rendering with Syncfusion controls like DropDownList,
103
103
  * AutoComplete, etc.
104
104
  *
105
105
  * @default 'Button'
@@ -108,10 +108,10 @@ export interface ItemModel {
108
108
 
109
109
  /**
110
110
  * Specifies where the button text will be displayed on *popup mode* of the Toolbar.
111
- * Possible values are:
112
- * - Toolbar: Text will be displayed on *Toolbar* only.
113
- * - Overflow: Text will be displayed only when content overflows to *popup*.
114
- * - Both: Text will be displayed on *popup* and *Toolbar*.
111
+ * The possible values for this property as follows
112
+ * * `Toolbar`: Text will be displayed on *Toolbar* only.
113
+ * * `Overflow`: Text will be displayed only when content overflows to *popup*.
114
+ * * `Both`: Text will be displayed on *popup* and *Toolbar*.
115
115
  *
116
116
  * @default 'Both'
117
117
  */
@@ -134,10 +134,10 @@ export interface ItemModel {
134
134
 
135
135
  /**
136
136
  * Specifies the location for aligning Toolbar items on the Toolbar. Each command will be aligned according to the `align` property.
137
- * Possible values are:
138
- * - Left: To align commands to the left side of the Toolbar.
139
- * - Center: To align commands at the center of the Toolbar.
140
- * - Right: To align commands to the right side of the Toolbar.
137
+ * The possible values for this property as follows
138
+ * * `Left`: To align commands to the left side of the Toolbar.
139
+ * * `Center`: To align commands at the center of the Toolbar.
140
+ * * `Right`: To align commands to the right side of the Toolbar.
141
141
  * ```html
142
142
  * <div id="element"> </div>
143
143
  * ```
@@ -210,7 +210,7 @@ export interface ToolbarModel extends ComponentModel{
210
210
 
211
211
  /**
212
212
  * Specifies the Toolbar display mode when Toolbar content exceeds the viewing area.
213
- * Possible modes are:
213
+ * The possible values for this property as follows
214
214
  * - Scrollable: All the elements are displayed in a single line with horizontal scrolling enabled.
215
215
  * - Popup: Prioritized elements are displayed on the Toolbar and the rest of elements are moved to the *popup*.
216
216
  * - MultiRow: Displays the overflow toolbar items as an in-line of a toolbar.
@@ -223,6 +223,12 @@ export interface ToolbarModel extends ComponentModel{
223
223
 
224
224
  /**
225
225
  * Specifies the scrolling distance in scroller.
226
+ * The possible values for this property as follows
227
+ * * Scrollable - All the elements are displayed in a single line with horizontal scrolling enabled.
228
+ * * Popup - Prioritized elements are displayed on the Toolbar and the rest of elements are moved to the *popup*.
229
+ * * MultiRow - Displays the overflow toolbar items as an in-line of a toolbar.
230
+ * * Extended - Hide the overflowing toolbar items in the next row. Show the overflowing toolbar items when you click the expand icons.
231
+ * * If the popup content overflows the height of the page, the rest of the elements will be hidden.
226
232
  *
227
233
  * @default null
228
234
  */
@@ -3,22 +3,48 @@ import { INotifyPropertyChanged, ChildProperty } from '@syncfusion/ej2-base';
3
3
  import { ToolbarModel, ItemModel } from './toolbar-model';
4
4
  /**
5
5
  * Specifies the options for supporting element types of Toolbar command.
6
+ * ```props
7
+ * Button :- Creates the Button control with its given properties like text, prefixIcon, etc.
8
+ * Separator :- Adds a horizontal line that separates the Toolbar commands.
9
+ * Input :- Creates an input element that is applicable to template rendering with Syncfusion controls like DropDownList, AutoComplete, etc.
10
+ * ```
6
11
  */
7
12
  export declare type ItemType = 'Button' | 'Separator' | 'Input';
8
13
  /**
9
14
  * Specifies the options of where the text will be displayed in popup mode of the Toolbar.
15
+ * ```props
16
+ * Toolbar :- Text will be displayed on Toolbar only.
17
+ * Overflow :- Text will be displayed only when content overflows to popup.
18
+ * Both :- Text will be displayed on popup and Toolbar.
19
+ * ```
10
20
  */
11
21
  export declare type DisplayMode = 'Both' | 'Overflow' | 'Toolbar';
12
22
  /**
13
23
  * Specifies the options of the Toolbar item display area when the Toolbar content overflows to available space.Applicable to `popup` mode.
24
+ * ```props
25
+ * Show :- Always shows the item as the primary priority on the *Toolbar*.
26
+ * Hide :- Always shows the item as the secondary priority on the *popup*.
27
+ * None :- No priority for display, and as per normal order moves to popup when content exceeds.
28
+ * ```
14
29
  */
15
30
  export declare type OverflowOption = 'None' | 'Show' | 'Hide';
16
31
  /**
17
32
  * Specifies the options of Toolbar display mode. Display option is considered when Toolbar content exceeds the available space.
33
+ * ```props
34
+ * Scrollable :- All the elements are displayed in a single line with horizontal scrolling enabled.
35
+ * Popup :- Prioritized elements are displayed on the Toolbar and the rest of elements are moved to the popup.
36
+ * MultiRow :- Displays the overflow toolbar items as an in-line of a toolbar.
37
+ * Extended :- Hide the overflowing toolbar items in the next row. Show the overflowing toolbar items when you click the expand icons, if the popup content overflows the height of the page, the rest of the elements will be hidden.
38
+ * ```
18
39
  */
19
40
  export declare type OverflowMode = 'Scrollable' | 'Popup' | 'MultiRow' | 'Extended';
20
41
  /**
21
42
  * Specifies the options for aligning the Toolbar items.
43
+ * ```props
44
+ * Left :- To align commands to the left side of the Toolbar.
45
+ * Center :- To align commands at the center of the Toolbar.
46
+ * Right :- To align commands to the right side of the Toolbar.
47
+ * ```
22
48
  */
23
49
  export declare type ItemAlign = 'Left' | 'Center' | 'Right';
24
50
  /** An interface that holds options to control the toolbar clicked action. */
@@ -102,10 +128,10 @@ export declare class Item extends ChildProperty<Item> {
102
128
  visible: boolean;
103
129
  /**
104
130
  * Specifies the Toolbar command display area when an element's content is too large to fit available space.
105
- * This is applicable only to `popup` mode. Possible values are:
106
- * - Show: Always shows the item as the primary priority on the *Toolbar*.
107
- * - Hide: Always shows the item as the secondary priority on the *popup*.
108
- * - None: No priority for display, and as per normal order moves to popup when content exceeds.
131
+ * This is applicable only to `popup` mode. The possible values for this property as follows
132
+ * * `Show`: Always shows the item as the primary priority on the *Toolbar*.
133
+ * * `Hide`: Always shows the item as the secondary priority on the *popup*.
134
+ * * `None`: No priority for display, and as per normal order moves to popup when content exceeds.
109
135
  *
110
136
  * @default 'None'
111
137
  */
@@ -122,9 +148,9 @@ export declare class Item extends ChildProperty<Item> {
122
148
  /**
123
149
  * Specifies the types of command to be rendered in the Toolbar.
124
150
  * Supported types are:
125
- * - Button: Creates the Button control with its given properties like text, prefixIcon, etc.
126
- * - Separator: Adds a horizontal line that separates the Toolbar commands.
127
- * - Input: Creates an input element that is applicable to template rendering with Syncfusion controls like DropDownList,
151
+ * * `Button`: Creates the Button control with its given properties like text, prefixIcon, etc.
152
+ * * `Separator`: Adds a horizontal line that separates the Toolbar commands.
153
+ * * `Input`: Creates an input element that is applicable to template rendering with Syncfusion controls like DropDownList,
128
154
  * AutoComplete, etc.
129
155
  *
130
156
  * @default 'Button'
@@ -132,10 +158,10 @@ export declare class Item extends ChildProperty<Item> {
132
158
  type: ItemType;
133
159
  /**
134
160
  * Specifies where the button text will be displayed on *popup mode* of the Toolbar.
135
- * Possible values are:
136
- * - Toolbar: Text will be displayed on *Toolbar* only.
137
- * - Overflow: Text will be displayed only when content overflows to *popup*.
138
- * - Both: Text will be displayed on *popup* and *Toolbar*.
161
+ * The possible values for this property as follows
162
+ * * `Toolbar`: Text will be displayed on *Toolbar* only.
163
+ * * `Overflow`: Text will be displayed only when content overflows to *popup*.
164
+ * * `Both`: Text will be displayed on *popup* and *Toolbar*.
139
165
  *
140
166
  * @default 'Both'
141
167
  */
@@ -157,10 +183,10 @@ export declare class Item extends ChildProperty<Item> {
157
183
  tooltipText: string;
158
184
  /**
159
185
  * Specifies the location for aligning Toolbar items on the Toolbar. Each command will be aligned according to the `align` property.
160
- * Possible values are:
161
- * - Left: To align commands to the left side of the Toolbar.
162
- * - Center: To align commands at the center of the Toolbar.
163
- * - Right: To align commands to the right side of the Toolbar.
186
+ * The possible values for this property as follows
187
+ * * `Left`: To align commands to the left side of the Toolbar.
188
+ * * `Center`: To align commands at the center of the Toolbar.
189
+ * * `Right`: To align commands to the right side of the Toolbar.
164
190
  * ```html
165
191
  * <div id="element"> </div>
166
192
  * ```
@@ -253,7 +279,7 @@ export declare class Toolbar extends Component<HTMLElement> implements INotifyPr
253
279
  cssClass: string;
254
280
  /**
255
281
  * Specifies the Toolbar display mode when Toolbar content exceeds the viewing area.
256
- * Possible modes are:
282
+ * The possible values for this property as follows
257
283
  * - Scrollable: All the elements are displayed in a single line with horizontal scrolling enabled.
258
284
  * - Popup: Prioritized elements are displayed on the Toolbar and the rest of elements are moved to the *popup*.
259
285
  * - MultiRow: Displays the overflow toolbar items as an in-line of a toolbar.
@@ -265,6 +291,12 @@ export declare class Toolbar extends Component<HTMLElement> implements INotifyPr
265
291
  overflowMode: OverflowMode;
266
292
  /**
267
293
  * Specifies the scrolling distance in scroller.
294
+ * The possible values for this property as follows
295
+ * * Scrollable - All the elements are displayed in a single line with horizontal scrolling enabled.
296
+ * * Popup - Prioritized elements are displayed on the Toolbar and the rest of elements are moved to the *popup*.
297
+ * * MultiRow - Displays the overflow toolbar items as an in-line of a toolbar.
298
+ * * Extended - Hide the overflowing toolbar items in the next row. Show the overflowing toolbar items when you click the expand icons.
299
+ * * If the popup content overflows the height of the page, the rest of the elements will be hidden.
268
300
  *
269
301
  * @default null
270
302
  */
@@ -1562,7 +1562,9 @@ var Toolbar = /** @class */ (function (_super) {
1562
1562
  innerEle.forEach(function (ele) {
1563
1563
  if (ele.tagName === 'DIV') {
1564
1564
  _this.tbarEle.push(ele);
1565
- ele.setAttribute('aria-disabled', 'false');
1565
+ if (!isNOU(ele.firstElementChild)) {
1566
+ ele.firstElementChild.setAttribute('aria-disabled', 'false');
1567
+ }
1566
1568
  _this.add(ele, CLS_ITEM);
1567
1569
  }
1568
1570
  });
@@ -1616,11 +1618,15 @@ var Toolbar = /** @class */ (function (_super) {
1616
1618
  var enable = function (isEnable, ele) {
1617
1619
  if (isEnable) {
1618
1620
  ele.classList.remove(CLS_DISABLE);
1619
- ele.setAttribute('aria-disabled', 'false');
1621
+ if (!isNOU(ele.firstElementChild)) {
1622
+ ele.firstElementChild.setAttribute('aria-disabled', 'false');
1623
+ }
1620
1624
  }
1621
1625
  else {
1622
1626
  ele.classList.add(CLS_DISABLE);
1623
- ele.setAttribute('aria-disabled', 'true');
1627
+ if (!isNOU(ele.firstElementChild)) {
1628
+ ele.firstElementChild.setAttribute('aria-disabled', 'true');
1629
+ }
1624
1630
  }
1625
1631
  };
1626
1632
  if (!isNOU(len) && len >= 1) {
@@ -1897,7 +1903,6 @@ var Toolbar = /** @class */ (function (_super) {
1897
1903
  Toolbar.prototype.renderSubComponent = function (item, index) {
1898
1904
  var dom;
1899
1905
  var innerEle = this.createElement('div', { className: CLS_ITEM });
1900
- innerEle.setAttribute('aria-disabled', 'false');
1901
1906
  var tempDom = this.createElement('div', {
1902
1907
  innerHTML: this.enableHtmlSanitizer ? SanitizeHtmlHelper.sanitize(item.tooltipText) : item.tooltipText
1903
1908
  });
@@ -1923,6 +1928,7 @@ var Toolbar = /** @class */ (function (_super) {
1923
1928
  dom.setAttribute('tabindex', isNOU(item.tabIndex) ? '-1' : item.tabIndex.toString());
1924
1929
  dom.setAttribute('data-tabindex', isNOU(item.tabIndex) ? '-1' : item.tabIndex.toString());
1925
1930
  dom.setAttribute('aria-label', (item.text || item.tooltipText));
1931
+ dom.setAttribute('aria-disabled', 'false');
1926
1932
  innerEle.appendChild(dom);
1927
1933
  innerEle.addEventListener('click', this.itemClick.bind(this));
1928
1934
  break;
@@ -71,8 +71,8 @@ export interface FieldsSettingsModel {
71
71
  query?: Query;
72
72
 
73
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.
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
76
  */
77
77
  selectable?: string;
78
78
 
@@ -180,8 +180,8 @@ export interface TreeViewModel extends ComponentModel{
180
180
 
181
181
  /**
182
182
  * Enables or disables multi-selection of nodes. To select multiple nodes:
183
- * * Select the nodes by holding down the CTRL key while clicking on the nodes.
184
- * * Select consecutive nodes by clicking the first node to select and hold down the **SHIFT** key
183
+ * * Select the nodes by holding down the **Ctrl** key while clicking on the nodes.
184
+ * * Select consecutive nodes by clicking the first node to select and hold down the **Shift** key
185
185
  * and click the last node to select.
186
186
  *
187
187
  * For more information on multi-selection, refer to