Class BOBNotificationBell
- Namespace
- BlazOrbit.Notifications
- Assembly
- BlazOrbit.Notifications.dll
public class BOBNotificationBell : BOBComponentBase, IHasSize
- Inheritance
-
objectComponentBaseBOBNotificationBell
- Implements
- Inherited Members
Constructors
BOBNotificationBell()
public BOBNotificationBell()
Properties
AriaLabel
Aria label rendered on the button.
[Parameter]
public string AriaLabel { get; set; }
Property Value
- string
OnClick
Raised when the bell is clicked. Consumers typically open a drawer or popover here.
[Parameter]
public EventCallback OnClick { get; set; }
Property Value
- EventCallback
Size
Visual size of the bell glyph + badge.
[Parameter]
public BOBSize Size { get; set; }
Property Value
UnreadCount
Live unread count, sourced from the injected INotificationCenter.
public int UnreadCount { get; }
Property Value
- int
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builderRenderTreeBuilder
Dispose()
public void Dispose()
OnInitialized()
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.
protected override void OnInitialized()