8.7 released—WinterCG Compliance Part 1
Learn more
ActionOptions
interface ActionOptions extends CancelableOptions {
  actions: string[];
  cancelButtonText: string;
  destructiveActionsIndexes: number[];
  message: string;
  title: string;
}
Provides options for the dialog.

Summary

Properties

actions

actions?: string[]
Gets or sets the list of available actions.

cancelButtonText

cancelButtonText?: string
Gets or sets the Cancel button text.

destructiveActionsIndexes

destructiveActionsIndexes?: number[]
[iOS only] Gets or sets the indexes of destructive actions.

message

message?: string
Gets or sets the dialog message.

title

title?: string
Gets or sets the dialog title.