deploy: 464314e219
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# CheckBox
|
||||
_The CheckBox is a visual element that can be checked._
|
||||
_A toggleable UI element that can be checked or unchecked. Displays different text based on its state and supports automatic sizing. Commonly used in forms and settings interfaces for boolean options._
|
||||
|
||||
Extends: `VisualElement`
|
||||
|
||||
@@ -7,7 +7,7 @@ Extends: `VisualElement`
|
||||
|
||||
|Property|Type|Default|Description|
|
||||
|---|---|---|---|
|
||||
|checked|boolean|Whether|checkbox is checked|
|
||||
|text|string|empty|Text to display|
|
||||
|checkedText|string|Text|when checked|
|
||||
|autoSize|boolean|true|Whether to automatically size the checkbox|
|
||||
|checked|boolean|false|The current state of the checkbox (true=checked, false=unchecked)|
|
||||
|text|string|empty|Text shown when the checkbox is unchecked|
|
||||
|checkedText|string|x|Text shown when the checkbox is checked|
|
||||
|autoSize|boolean|true|Automatically adjusts width based on text length|
|
||||
|
||||
Reference in New Issue
Block a user