This commit is contained in:
NoryiE
2025-09-14 10:20:13 +00:00
parent 056b0ef795
commit 81a24ddf61
3 changed files with 16 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
# Checkbox
_The Checkbox is a visual element that can be checked._
# CheckBox
_The CheckBox is a visual element that can be checked._
Extends: `VisualElement`

View File

@@ -1,5 +1,5 @@
# Dropdown
_This is the dropdown class. It is a visual element that can show a list of selectable items in a dropdown menu._
# DropDown
_This is the DropDown class. It is a visual element that can show a list of selectable items in a DropDown menu._
Extends: `List`
@@ -7,7 +7,7 @@ Extends: `List`
|Property|Type|Default|Description|
|---|---|---|---|
|isOpen|boolean|false|Whether the dropdown menu is currently open|
|dropdownHeight|number|5|Maximum height of the dropdown menu when open|
|isOpen|boolean|false|Whether the DropDown menu is currently open|
|dropdownHeight|number|5|Maximum height of the DropDown menu when open|
|selectedText|string|""|The text to show when no item is selected|
|dropSymbol|string|"\31"|The symbol to show for dropdown indication|
|dropSymbol|string|"\31"|The symbol to show for DropDown indication|

View File

@@ -1,5 +1,5 @@
# Flexbox
_This is the Flexbox class. It is a container that arranges its children in a flexible layout._
# FlexBox
_This is the FlexBox class. It is a container that arranges its children in a flexible layout._
_The flexbox element adds the following properties to its children:_
Extends: `Container`
@@ -19,10 +19,10 @@ Extends: `Container`
|Method|Returns|Description|
|---|---|---|
|[Flexbox:addChild](#flexbox-addchild-element)|Flexbox|Adds a child element to the flexbox|
|[Flexbox:addLineBreak](#flexbox-addlinebreak-self)|Flexbox|Adds a new line break to the flexbox.|
|[FlexBox:addChild](#flexbox-addchild-element)|FlexBox|Adds a child element to the flexbox|
|[FlexBox:addLineBreak](#flexbox-addlinebreak-self)|FlexBox|Adds a new line break to the flexbox.|
## Flexbox:addChild(element)
## FlexBox:addChild(element)
Adds a child element to the flexbox
@@ -30,14 +30,14 @@ Adds a child element to the flexbox
* `element` `Element` The child element to add
### Returns
* `Flexbox` `self` The flexbox instance
* `FlexBox` `self` The flexbox instance
## Flexbox:addLineBreak(self)
## FlexBox:addLineBreak(self)
Adds a new line break to the flexbox
### Parameters
* `self` `Flexbox` The element itself
* `self` `FlexBox` The element itself
### Returns
* `Flexbox`
* `FlexBox`