• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# NotificationActionButton
2
3The **NotificationActionButton** module describes the button displayed in the notification.
4
5> **NOTE**
6>
7> The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8
9**System capability**: SystemCapability.Notification.Notification
10
11| Name     | Type                                           | Readable| Writable| Description                     |
12| --------- | ----------------------------------------------- | --- | ---- | ------------------------- |
13| title     | string                                          | Yes | Yes | Button title.                 |
14| wantAgent | [WantAgent](js-apis-app-ability-wantAgent.md)   | Yes | Yes | **WantAgent** of the button.|
15| extras    | { [key: string]: any }                          | Yes | Yes | Extra information of the button.             |
16| userInput<sup>8+</sup> | [NotificationUserInput](js-apis-inner-notification-notificationUserInput.md) | Yes | Yes | User input object.         |
17