Class HeadlessSwitchGroup
Namespace: Neon.Tailwind
Assembly: Neon.Tailwind.dll
Syntax
public class HeadlessSwitchGroup
Properties
ChildContent
Declaration
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Type | Description |
---|---|
RenderFragment |
Methods
RegisterSwitch(HeadlessSwitch)
Declaration
public void RegisterSwitch(HeadlessSwitch switchElement)
Parameters
Type | Name | Description |
---|---|---|
HeadlessSwitch | switchElement |
ToggleSwitch()
Declaration
public void ToggleSwitch()