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
feat(ui5-menu): provide busy indicator display (#6866)
* feat(ui5-menu): provide busy indicator display
New property "busyIndicator" has been introduced.
Through this property the application developers
will be able to configure a busy indicator display
for a particular ui5-menu DOM representation.
That way there will be a busy indicator while
the corresponding menu item texts are getting fetched
from a database.
Fixes: #6131
@@ -96,6 +97,32 @@ class MenuItem extends UI5Element {
96
97
@property({type: Boolean})
97
98
disabled!: boolean;
98
99
100
+
/**
101
+
* Defines the delay in milliseconds, after which the busy indicator will be displayed inside the corresponding ui5-menu popover.
102
+
*
103
+
* Note: If set to <code>true</code> a <code>ui5-busy-indicator</code> component will be displayed into the related one to the current <code>ui5-menu-item</code> sub-menu popover.
104
+
*
105
+
* @name sap.ui.webc.main.MenuItem.prototype.busy
106
+
* @type {boolean}
107
+
* @defaultvalue false
108
+
* @public
109
+
* @since 1.13.0
110
+
*/
111
+
@property({type: Boolean})
112
+
busy!: boolean;
113
+
114
+
/**
115
+
* Defines the delay in milliseconds, after which the busy indicator will be displayed inside the corresponding ui5-menu popover.
0 commit comments