mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-16 08:21:10 +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;
|
title?: string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specifies whether the action causes the app to launch in the foreground
|
* Make this notification show when app in foreground.
|
||||||
*/
|
*/
|
||||||
foreground?: boolean;
|
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
|
* 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;
|
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.
|
* The type of the action. If omitted 'button' is used.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user