ConfirmDialogShowAsync Method

Shows the confirm dialog.

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public Task<bool> ShowAsync(
	string title,
	string? message1,
	string? headerIcon = null
)

Parameters

title  String
Title to display. Cannot be IsNullOrEmpty(String)
message1  String
Message (first part) to display. Can be left .
headerIcon  String  (Optional)
Optional HTML markup for a header icon (e.g., warning triangle).

Return Value

TaskBoolean
Task completion with Boolean result, determined by _taskCompletionSource when the user presses the yes or no button.

Exceptions

See Also