<SfSidebar ID="sidebar1" HtmlAttributes="@HtmlAttribute" @ref="SidebarObj" EnablePersistence="true" CloseOnDocumentClick="@CloseOnDocumentClick" ShowBackdrop="@ShowBackdrop" Position="@Position" Type="@Type" @bind-IsOpen="SidebarToggle">
<ChildContent>
<div class="title-header">
<div style="display:inline-block"> Sidebar </div>
<span id="close" class="e-icons" @onclick="@Close"></span>
</div>
<div class="sub-title">
Place your primary content here.
</div>
</ChildContent>
</SfSidebar>
public SidebarType Type { get; set; } = SidebarType.Push; |