Class HandleJavaScriptDialogCommandSettings
Accepts or dismisses a JavaScript initiated dialog (alert, confirm, prompt, or onbeforeunload).
public sealed class HandleJavaScriptDialogCommandSettings : ICommand
- Inheritance
-
HandleJavaScriptDialogCommandSettings
- Implements
- Inherited Members
Properties
Accept
Whether to accept or dismiss the dialog.
[JsonPropertyName("accept")]
public bool Accept { get; set; }
Property Value
CommandName
Gets the name of the command.
[JsonIgnore]
public string CommandName { get; }
Property Value
PromptText
The text to enter into the dialog prompt before accepting. Used only if this is a prompt dialog.
[JsonPropertyName("promptText")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? PromptText { get; set; }