Skip to content

Commit d69a3c4

Browse files
danielorihuelatarunama
authored andcommitted
feat(dialog): ios destructive style from options (NativeScript#8676)
1 parent dbf87ce commit d69a3c4

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)