API Reference
Class
ToastSettings
Settings sub‑builder for TablerToast.
Inheritance
- Object
- ToastSettings
Methods
public ToastSettings Animation(Boolean enable = true) #Returns:
ToastSettingsEnables or disables toast animation.
Parameters
- enable System.Boolean = true
public ToastSettings AutoDismiss(Int32 milliseconds) #Returns:
ToastSettingsAutomatically dismiss the toast after the specified delay.
Parameters
- milliseconds System.Int32
public ToastSettings Autohide(Nullable<Boolean> autohide) #Returns:
ToastSettingsOverrides Bootstrap autohide behavior. When null, HtmlForgeX infers it from the configured delay.
Parameters
- autohide System.Nullable{System.Boolean}
public ToastSettings AutoShow(Boolean show = true) #Returns:
ToastSettingsControls whether the toast should be shown automatically after load.
Parameters
- show System.Boolean = true
public ToastSettings CloseButton(Boolean show = true) #Returns:
ToastSettingsShows or hides the close button.
Parameters
- show System.Boolean = true
public ToastSettings Message(String message) #Returns:
ToastSettingsSets the toast message text.
Parameters
- message System.String
public ToastSettings Position(TablerToastPosition position) #Returns:
ToastSettingsSets the toast container position.
Parameters
- position HtmlForgeX.TablerToastPosition
public ToastSettings Title(String title) #Returns:
ToastSettingsSets the toast title text.
Parameters
- title System.String
public ToastSettings Type(TablerToastType type) #Returns:
ToastSettingsSets the toast visual type.
Parameters
- type HtmlForgeX.TablerToastType