@energycap/components 0.28.12 → 0.28.13
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.
- package/bundles/energycap-components.umd.js +14 -2
- package/bundles/energycap-components.umd.js.map +1 -1
- package/bundles/energycap-components.umd.min.js +1 -1
- package/bundles/energycap-components.umd.min.js.map +1 -1
- package/energycap-components.metadata.json +1 -1
- package/esm2015/lib/controls/menu/menu.component.js +8 -2
- package/esm2015/lib/display/tree/tree.component.js +8 -2
- package/fesm2015/energycap-components.js +14 -2
- package/fesm2015/energycap-components.js.map +1 -1
- package/lib/controls/menu/menu.component.d.ts +5 -0
- package/lib/display/tree/tree.component.d.ts +5 -0
- package/package.json +1 -1
|
@@ -99,6 +99,11 @@ export declare class MenuComponent implements AfterContentInit, OnDestroy {
|
|
|
99
99
|
* Will prevent text-wrapping of menu items and truncate instead. Also turns on a tooltip for the menu item. Default: false;
|
|
100
100
|
*/
|
|
101
101
|
truncateItems: boolean;
|
|
102
|
+
/**
|
|
103
|
+
* When true, the space for the icon is preserved for menu items that do not have icons.
|
|
104
|
+
* Only applicable for iconAndLabel menus.
|
|
105
|
+
*/
|
|
106
|
+
preserveIconSpace: boolean;
|
|
102
107
|
/**
|
|
103
108
|
* Emitted when `selected` is changed. Emits the referenced object.
|
|
104
109
|
*
|
|
@@ -42,6 +42,11 @@ export declare class TreeComponent {
|
|
|
42
42
|
menuStatus?: Overlay;
|
|
43
43
|
/** The menu item template */
|
|
44
44
|
menuTemplateType?: MenuTemplateType;
|
|
45
|
+
/**
|
|
46
|
+
* When true, the space for the icon is preserved for menu items that do not have icons.
|
|
47
|
+
* Only applicable for iconAndLabel menus. Not applicable to hierarchy trees.
|
|
48
|
+
*/
|
|
49
|
+
preserveIconSpace: boolean;
|
|
45
50
|
/** Emits the item currently selected item in the tree */
|
|
46
51
|
treeSelection: EventEmitter<MenuItem | HierarchyItem>;
|
|
47
52
|
/** Emits when a hierarchy tree item is expanded as a hook to load the item's children */
|