Skip to content

Commit

Permalink
feat(dialog): ios destructive style from options (NativeScript#8676)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielorihuela authored and tarunama committed Sep 9, 2020
1 parent dbf87ce commit d69a3c4
Show file tree
Hide file tree
Showing 2 changed files with 223 additions and 87 deletions.
5 changes: 5 additions & 0 deletions nativescript-core/ui/dialogs/dialogs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
}

/**
Expand Down
Loading

0 comments on commit d69a3c4

Please sign in to comment.