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 all
set to false: Element
If all
set to true: array of Elements
Support
Napture | Bussinga | YAB | WXV Core | |
---|---|---|---|---|
get | v1.0.0 | v0.0.1 | None | 1 |
name | v1.0.0 | v0.0.1 | None | 1 |
all | v1.0.0 | v0.0.1 | None | 1 |