Updated docs
There is still stuff to do
This commit is contained in:
14
docs/objects/Frame/addLayoutFromString.md
Normal file
14
docs/objects/Frame/addLayoutFromString.md
Normal file
@@ -0,0 +1,14 @@
|
||||
## addLayoutFromString
|
||||
Adds a new XML Layout as string into your frame.
|
||||
|
||||
#### Parameters:
|
||||
1. `string` xml
|
||||
|
||||
#### Returns:
|
||||
1. `frame` The frame being used
|
||||
|
||||
#### Usage:
|
||||
* Creates a new base frame and adds the mainframe.xml layout
|
||||
```lua
|
||||
local myFrame = basalt.createFrame():addLayoutFromString("<button x='12' y='5' bg='black' />")
|
||||
```
|
||||
Reference in New Issue
Block a user