Search results

HTML Attribute Support

HTML attribute support is given for button using HtmlAttributes property.

@using Syncfusion.EJ2.Blazor.Buttons

<EjsButton Content="@Content" HtmlAttributes="@submit"></EjsButton>

@code {
    public string Content = "Submit";
    private Dictionary<string, object> submit = new Dictionary<string, object>()
     {
        { "type", "submit"}
    };
}

Output be like

Button Sample