ConfirmDialog
Since 0.1.0-alpha.24IzzyBlazor.ConfirmDialog in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.31 assembly
and its doc comments.
Properties (8)
Forstring requiredWhat it asks for: the id of a button or link, or a CSS selector when it starts with #, . or [, such as .delete-note for every row's Delete.
Titlestring requiredThe question, such as "Delete this note?". Also the dialog's accessible name. {0} is the data-confirm value of the one clicked: "Delete {0}?".
BodyRenderFragment?More content under the question, the same for whichever was clicked.
ConfirmTextstring? = "Confirm"The confirm button's text, such as "Delete". Defaults to "Confirm".
CancelTextstring? = "Cancel"The cancel button's text. Defaults to "Cancel".
Idstring?The dialog's id. One is made up without it.
Events (0)
No events.
Types (1)
Accent
classThe color of a control: buttons, badges, tags, banners, progress bars and menu items. Primary, Neutral and Danger are the roles; emphasis comes from the variant (solid, soft, outline, ghost, link), not from more colors. For one control in another color, use Of (any CSS color) or Token (a theme token); text on it is chosen for contrast.
| Member | Description |
|---|---|
Primary | The brand color, for the main action. |
Neutral | A quiet, gray action. |
Danger | A destructive action, such as Delete. |
Of(string css) | Any CSS color, such as |
Token(string name) | A theme token, such as |
From(Color color) | A |