docs fix
This commit is contained in:
@@ -1,29 +1,18 @@
|
||||
# Button
|
||||
_The Button is a standard button element with click handling and state management._
|
||||
|
||||
Extends: `VisualElement`
|
||||
# Button : VisualElement
|
||||
The Button is a standard button element with click handling and state management.
|
||||
|
||||
## Properties
|
||||
|
||||
|Property|Type|Default|Description|
|
||||
|---|---|---|---|
|
||||
|text|string|Button|Button text|
|
||||
|text|string|Button|Button text
|
||||
|
||||
## Functions
|
||||
|
||||
## Protected Functions
|
||||
|
||||
|Method|Returns|Description|
|
||||
|---|---|---|
|
||||
|[Button.new](#button-new)|table|Creates a new Button instance|
|
||||
|[Button:Button](#button-button-props-basalt)|-|Initializes the Button instance|
|
||||
|[Button:Button](#button-button)|-|Renders the Button|
|
||||
|Button:init|-|Initializes the Button instance
|
||||
|Button:render|-|Renders the Button
|
||||
|
||||
## Button.new()
|
||||
### Returns
|
||||
* `table` `self` The created instance
|
||||
|
||||
## Button:Button(props, basalt)
|
||||
### Parameters
|
||||
* `props` `table` The properties to initialize the element with
|
||||
* `basalt` `table` The basalt instance
|
||||
|
||||
## Button:Button()
|
||||
Reference in New Issue
Block a user