ConfirmDialogShowAsync Method
Shows the confirm dialog.
Namespace: BlazorBootstrapAssembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task<bool> ShowAsync(
string title,
string? message1,
string? headerIcon = null
)
- 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).
TaskBooleanTask completion with
Boolean result, determined by
_taskCompletionSource
when the user presses the yes or no button.