Updated some formatting
Updated formatting for object
This commit is contained in:
@@ -1,13 +1,19 @@
|
||||
# Object
|
||||
|
||||
## isFocused
|
||||
|
||||
Returns if the object is currently the focused object of the parent frame
|
||||
|
||||
#### Returns:
|
||||
### Returns
|
||||
|
||||
1. `boolean` Whether the object is focused
|
||||
|
||||
#### Usage:
|
||||
#### Usage
|
||||
|
||||
* Prints whether the button is focused to the debug console
|
||||
|
||||
```lua
|
||||
local mainFrame = basalt.createFrame()
|
||||
local aButton = mainFrame:addButton()
|
||||
basalt.debug(aButton:isFocused()) -- shows true or false as a debug message
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user