mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat(dialog): ios destructive style from options (#8676)
This commit is contained in:
5
nativescript-core/ui/dialogs/dialogs.d.ts
vendored
5
nativescript-core/ui/dialogs/dialogs.d.ts
vendored
@@ -171,6 +171,11 @@ export interface ActionOptions extends CancelableOptions {
|
||||
* Gets or sets the list of available actions.
|
||||
*/
|
||||
actions?: Array<string>;
|
||||
|
||||
/**
|
||||
* [iOS only] Gets or sets the indexes of destructive actions.
|
||||
*/
|
||||
destructiveActionsIndexes?: Array<number>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user