ConfirmDialogShowAsync Method
Shows the confirm dialog.
Namespace: BlazorBootstrapAssembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
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.