HotButton
Namespace: SlottyMedia.Components.Partial
public class HotButton : Microsoft.AspNetCore.Components.ComponentBase, Microsoft.AspNetCore.Components.IComponent, Microsoft.AspNetCore.Components.IHandleEvent, Microsoft.AspNetCore.Components.IHandleAfterRender
Inheritance Object → ComponentBase → HotButton
Implements IComponent, IHandleEvent, IHandleAfterRender
Properties
Class
Additional CSS classes to add to this button.
public string Class { get; set; }
Property Value
Type
This button's type (see HTML5 specifications).
public string Type { get; set; }
Property Value
ChildContent
This button's child content, ideally just a string.
public RenderFragment ChildContent { get; set; }
Property Value
RenderFragment
OnClick
An event that is triggered when this button is clicked.
public EventCallback OnClick { get; set; }
Property Value
EventCallback
Constructors
HotButton()
public HotButton()
Methods
BuildRenderTree(RenderTreeBuilder)
protected void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder RenderTreeBuilder