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 | Full | Full | None | Full |
name | Full | Full | None | Full |
all | Full | Full | None | Full |