mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 00:12:53 +08:00
feat(local-notifications): Added local additional local notification action fields (#2713)
This commit is contained in:
parent
7047920a2a
commit
267149b16f
@ -122,10 +122,15 @@ export interface ILocalNotificationAction {
|
||||
title?: string;
|
||||
|
||||
/**
|
||||
* Specifies whether the action causes the app to launch in the foreground
|
||||
* Make this notification show when app in foreground.
|
||||
*/
|
||||
foreground?: boolean;
|
||||
|
||||
/**
|
||||
* Specifies whether the action causes the app to launch in the foreground
|
||||
*/
|
||||
launch?: boolean;
|
||||
|
||||
/**
|
||||
* If the value is 'decline' the action is displayed with special highlighting to indicate that it performs a destructive task
|
||||
*/
|
||||
@ -143,6 +148,24 @@ export interface ILocalNotificationAction {
|
||||
*/
|
||||
icon?: string;
|
||||
|
||||
/**
|
||||
* ANDROID ONLY
|
||||
* An array of pre-defined choices for users input
|
||||
*/
|
||||
choices?: string[];
|
||||
|
||||
/**
|
||||
* ANDROID ONLY
|
||||
* Specifies whether the user can provide arbitrary text values
|
||||
*/
|
||||
editable?: boolean;
|
||||
|
||||
/**
|
||||
* IOS ONLY
|
||||
* The title of the text input button that is displayed to the user.
|
||||
*/
|
||||
submitTitle?: string;
|
||||
|
||||
/**
|
||||
* The type of the action. If omitted 'button' is used.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user