Table of Contents

Class VToggle

Namespace
Velvet.Experimental
Assembly
Velvet.Docs.dll
public sealed class VToggle : VBuilder
Inheritance
object
VToggle
Inherited Members

Constructors

VToggle(string?)

Properties

Enabled

When false, disables user interaction.

Label

Label text shown next to the toggle.

OnChange

Handler invoked when the toggle state changes.

Value

Current toggle state (controlled).

Methods

Build()

Converts this builder into a concrete VNode by delegating to the matching V.* factory.