Class HeadlessSwitchLabel
Inheritance
HeadlessSwitchLabel
Assembly: Neon.Tailwind.dll
Syntax
public class HeadlessSwitchLabel : ComponentBase
Properties
AdditionalAttributes
Declaration
[Parameter(CaptureUnmatchedValues = true)]
public IReadOnlyDictionary<string, object> AdditionalAttributes { get; set; }
Property Value
CascadedGroup
Declaration
[CascadingParameter]
public HeadlessSwitchGroup CascadedGroup { get; set; }
Property Value
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Group
Declaration
public HeadlessSwitchGroup Group { get; set; }
Property Value
Passive
Declaration
[Parameter]
public bool Passive { get; set; }
Property Value
Methods
HandleClick()
Declaration
public void HandleClick()
SetParametersAsync(ParameterView)
Sets parameters supplied by the component's parent in the render tree.
Declaration
public override Task SetParametersAsync(ParameterView parameters)
Parameters
Returns
Type |
Description |
Task |
A Task that completes when the component has finished updating and rendering itself.
|
Overrides