HtmlForgeX

API Reference

Class

TablerToast

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Element

Helper for rendering Tabler toast notifications.

Inheritance

Constructors

TablerToast 2 overloads
public TablerToast() #

Initializes or configures TablerToast.

public TablerToast(String title, String message, TablerToastType type = Default) #

Initializes or configures TablerToast.

Parameters

title System.String requiredposition: 0
message System.String requiredposition: 1
type HtmlForgeX.TablerToastType = Default optionalposition: 2

Methods

public TablerToast AutoDismiss(Int32 milliseconds) #
Returns: TablerToast

Initializes or configures AutoDismiss.

Parameters

milliseconds System.Int32 requiredposition: 0
public TablerToast Message(String message) #
Returns: TablerToast

Initializes or configures Message.

Parameters

message System.String requiredposition: 0
public TablerToast Position(TablerToastPosition position) #
Returns: TablerToast

Initializes or configures Position.

Parameters

position HtmlForgeX.TablerToastPosition requiredposition: 0
RegisterLibraries() #
public TablerToast Settings(Action<ToastSettings> configure) #
Returns: TablerToast

Groups less-common options under a single fluent entry point to keep IntelliSense lean.

Parameters

configure System.Action{HtmlForgeX.ToastSettings} requiredposition: 0
public TablerToast Title(String title) #
Returns: TablerToast

Initializes or configures Title.

Parameters

title System.String requiredposition: 0
public override String ToString() #
Returns: String

Initializes or configures ToString.

public TablerToast Type(TablerToastType type) #
Returns: TablerToast

Initializes or configures Type.

Parameters

type HtmlForgeX.TablerToastType requiredposition: 0