Function getAllUIElements

  • Returns class with all named elements inside the specified rootElement (document is used when not defined) to direct access. Script can then do not need to call qid for any named element.

    Example

    var UI = getAllUIElements();
    UI.lvTracklist.controlClass.dataSource = data;

    Method

    getAllUIElements

    Parameters

    • Optional rootElement: HTMLElement

      element

    Returns {
        [key: string]: HTMLElement;
    }

    class with named elements

    • [key: string]: HTMLElement