ConfirmDialogShowAsync Method

Shows the confirm dialog.

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
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