• Gets an element by key.

    The key can be:

    • a GUID
    • an ID
    • a class
    • a name

    Parameters

    • key: string | HTMLElement | JQuery<HTMLElement>
    • settings: HTMLElement | Partial<DomContext> = ...

    Returns JQuery<HTMLElement>

    Example

    // Gets an element by its GUID
    ix.api.dom.getElement("<ELEMENT-GUID>");