Skip to content

Commit 94c8d8a

Browse files
danielorihuelaNathanWalker
authored andcommitted
feat(dialog): ios destructive style from options (#8676)
1 parent 0371669 commit 94c8d8a

File tree

2 files changed

+223
-87
lines changed

2 files changed

+223
-87
lines changed

nativescript-core/ui/dialogs/dialogs.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,11 @@ export interface ActionOptions extends CancelableOptions {
171171
* Gets or sets the list of available actions.
172172
*/
173173
actions?: Array<string>;
174+
175+
/**
176+
* [iOS only] Gets or sets the indexes of destructive actions.
177+
*/
178+
destructiveActionsIndexes?: Array<number>;
174179
}
175180

176181
/**

0 commit comments

Comments
 (0)