Merge pull request #11654 from sethlu/set-notification-close-button-text
feat: Set macOS notification close button title
This commit is contained in:
commit
af92b04eb9
6 changed files with 133 additions and 21 deletions
|
@ -39,7 +39,7 @@ Returns `Boolean` - Whether or not desktop notifications are supported on the cu
|
|||
* `replyPlaceholder` String (optional) _macOS_ - The placeholder to write in the inline reply input field.
|
||||
* `sound` String (optional) _macOS_ - The name of the sound file to play when the notification is shown.
|
||||
* `actions` [NotificationAction[]](structures/notification-action.md) (optional) _macOS_ - Actions to add to the notification. Please read the available actions and limitations in the `NotificationAction` documentation.
|
||||
|
||||
* `closeButtonText` String (optional) _macOS_ - A custom title for the close button of an alert. An empty string will cause the default localized text to be used.
|
||||
|
||||
### Instance Events
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue