Documentation
    Preparing search index...

    Function ensureElements

    • Given a key-value lookup list of desired element names and relative CSS selectors, it populates an object with the same keys and the found elements.

      Parameters

      • __namedParameters: EnsureElementsParams

        The id of the context, the parent element, the key-value lookup list

      Returns Record<string, HTMLElement>

      The key-value list of element names and selections

      ${key} not found inside element with id: ${id} as soon as an element of the list is not found.