@substrate-system/dom
    Preparing search index...

    Function waitForText

    • Look for the given text within the given parent element. Return the element containing the text.

      Parameters

      • args:
            | string
            | Partial<
                { multipleTags: boolean; regex: RegExp; text: string; timeout: number },
            >
      • parentElement: Element = document.body

      Returns Promise<null | HTMLElement>