deploy: a3cc685620
This commit is contained in:
@@ -12,6 +12,12 @@ The Checkbox is a visual element that can be checked.
|
||||
|
||||
## Functions
|
||||
|
||||
|Method|Returns|Description|
|
||||
|---|---|---|
|
||||
|
||||
|
||||
## Protected Functions
|
||||
|
||||
|Method|Returns|Description|
|
||||
|---|---|---|
|
||||
|[Checkbox.new](#Checkbox.new)|Checkbox|Creates a new Checkbox instance
|
||||
@@ -20,31 +26,3 @@ The Checkbox is a visual element that can be checked.
|
||||
|[Checkbox:render](#Checkbox:render)|-|Renders the Checkbox
|
||||
|
||||
|
||||
## Checkbox.new()
|
||||
Creates a new Checkbox instance
|
||||
|
||||
### Returns
|
||||
* `Checkbox` `self` The created instance
|
||||
|
||||
## Checkbox:init(props, basalt)
|
||||
Initializes the Checkbox instance
|
||||
|
||||
### Parameters
|
||||
* `props` `table` The properties to initialize the element with
|
||||
* `basalt` `table` The basalt instance
|
||||
|
||||
## Checkbox:mouse_click(button, x, y)
|
||||
Handles mouse click events
|
||||
|
||||
### Parameters
|
||||
* `button` `number` The button that was clicked
|
||||
* `x` `number` The x position of the click
|
||||
* `y` `number` The y position of the click
|
||||
|
||||
### Returns
|
||||
* `boolean` `Clicked` Whether the event was handled
|
||||
|
||||
## Checkbox:render()
|
||||
Renders the Checkbox
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user