if I include 3 buttons in chrome desktop notification, it is displaying only two buttons, is there a way I can add more than two action buttons ? if not can i implement action list items ? if so kindly let me know.
For your reference : Is there any way to insert action buttons in notification in Google Chrome
notifications. Use the chrome. notifications API to create rich notifications using templates and show these notifications to users in the system tray.
From chrome.notifications API on buttons
property:
Text and icons for up to two notification action buttons.
Hence, it seems that having more than 2 buttons display is not possible with chrome API.
You could use onClosed and onClicked for more control.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With