Updated docs
There is still stuff to do
This commit is contained in:
16
docs/objects/Frame/removeFocusedObject.md
Normal file
16
docs/objects/Frame/removeFocusedObject.md
Normal file
@@ -0,0 +1,16 @@
|
||||
## removeFocusedObject
|
||||
Removes the focus of the supplied object
|
||||
|
||||
#### Parameters:
|
||||
1. `object` The child object to remove focus from
|
||||
|
||||
#### Returns:
|
||||
1. `frame` The frame being used
|
||||
|
||||
#### Usage:
|
||||
* Creates a new button then removes the focus from that button when clicking on it
|
||||
```lua
|
||||
local aButton = myFrame:addButton():setFocus():onClick(function()
|
||||
myFrame:removeFocusedObject(aButton)
|
||||
end)
|
||||
```
|
||||
Reference in New Issue
Block a user