Lua Legacy Get
This global function gets a element with the name or class passed to it.
This is part of the legacy api which is deprecated and no longer maintained.
get('links', true)
Inputs
- Name - the name of the tag or class to get
- All - if to get the first or all occurrences
Return
If any matches found:
all set to false: Element
all set to true: array of Elements
If no matches found:
all set to false: nil
all set to true: empty array
Support
| Napture | Bussinga | WXV Core |
|---|