-
Notifications
You must be signed in to change notification settings - Fork 279
feat(ui5-button): Add BusyIndicator #11906
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…bcomponents into button-busy-indicator
…bcomponents into button-busy-indicator
…bcomponents into button-busy-indicator
*/ | ||
@property({ type: Number }) | ||
loadingDelay = 1000; | ||
|
||
/** | ||
* The current title of the button, either the tooltip property or the icons tooltip. The tooltip property with higher prio. | ||
* @private |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please consider paraphrasing:
The button's current title is determined by either the tooltip
property or the icon's tooltip, with the tooltip
property taking precedence if both are set.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in cc36fbb
packages/main/src/Button.ts
Outdated
/** | ||
* Defines whether the button shows a loading indicator. | ||
* | ||
* **Note:** If set to `true` a busy indicator component will be displayed into the related button. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please consider:
Note: If set to true
, a busy indicator component will be displayed on the related button.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in cc36fbb
packages/main/src/Button.ts
Outdated
loading = false; | ||
|
||
/** | ||
* Defines the delay in milliseconds, after which the loading indicator will be displayed inside the related button. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please consider:
Specifies the delay in milliseconds before the loading indicator appears within the associated button.
If you prefer to keep the text as is, please remove the comma:
Defines the delay in milliseconds after which the loading indicator will be displayed inside the related button.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in cc36fbb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Add BusyIndicator to the button