deploy: 264b1b9425
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
# Checkbox
|
# CheckBox
|
||||||
_The Checkbox is a visual element that can be checked._
|
_The CheckBox is a visual element that can be checked._
|
||||||
|
|
||||||
Extends: `VisualElement`
|
Extends: `VisualElement`
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Dropdown
|
# DropDown
|
||||||
_This is the dropdown class. It is a visual element that can show a list of selectable items in a dropdown menu._
|
_This is the DropDown class. It is a visual element that can show a list of selectable items in a DropDown menu._
|
||||||
|
|
||||||
Extends: `List`
|
Extends: `List`
|
||||||
|
|
||||||
@@ -7,7 +7,7 @@ Extends: `List`
|
|||||||
|
|
||||||
|Property|Type|Default|Description|
|
|Property|Type|Default|Description|
|
||||||
|---|---|---|---|
|
|---|---|---|---|
|
||||||
|isOpen|boolean|false|Whether the dropdown menu is currently open|
|
|isOpen|boolean|false|Whether the DropDown menu is currently open|
|
||||||
|dropdownHeight|number|5|Maximum height of the dropdown menu when open|
|
|dropdownHeight|number|5|Maximum height of the DropDown menu when open|
|
||||||
|selectedText|string|""|The text to show when no item is selected|
|
|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|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# Flexbox
|
# FlexBox
|
||||||
_This is the Flexbox class. It is a container that arranges its children in a flexible layout._
|
_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:_
|
_The flexbox element adds the following properties to its children:_
|
||||||
|
|
||||||
Extends: `Container`
|
Extends: `Container`
|
||||||
@@ -19,10 +19,10 @@ Extends: `Container`
|
|||||||
|
|
||||||
|Method|Returns|Description|
|
|Method|Returns|Description|
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
|[Flexbox:addChild](#flexbox-addchild-element)|Flexbox|Adds a child element 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: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
|
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
|
* `element` `Element` The child element to add
|
||||||
|
|
||||||
### Returns
|
### 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
|
Adds a new line break to the flexbox
|
||||||
|
|
||||||
### Parameters
|
### Parameters
|
||||||
* `self` `Flexbox` The element itself
|
* `self` `FlexBox` The element itself
|
||||||
|
|
||||||
### Returns
|
### Returns
|
||||||
* `Flexbox`
|
* `FlexBox`
|
||||||
|
|||||||
Reference in New Issue
Block a user