Search results

Tooltip For Button

Tooltip can be shown on Button hover and it can be achieved by HtmlAttributes property.

@using Syncfusion.EJ2.Blazor.Buttons

<EjsButton Content="@Content" HtmlAttributes="@primButton" IsPrimary="true"></EjsButton>

@code {
    public string Content = "Button";
    private Dictionary<string, object> primButton = new Dictionary<string, object>()
    {
        { "title", "Primary Button"}
    };
}

Output be like

Button Sample