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

    Variable qsConst

    qs: {
        <K extends keyof HTMLElementTagNameMap>(
            selectors: K,
        ): HTMLElementTagNameMap[K] | null;
        <K extends keyof SVGElementTagNameMap>(
            selectors: K,
        ): SVGElementTagNameMap[K] | null;
        <K extends keyof MathMLElementTagNameMap>(
            selectors: K,
        ): MathMLElementTagNameMap[K] | null;
        <K extends keyof HTMLElementDeprecatedTagNameMap>(
            selectors: K,
        ): HTMLElementDeprecatedTagNameMap[K] | null;
        <E extends Element = Element>(selectors: string): E | null;
    } = ...

    Type Declaration

      • <K extends keyof HTMLElementTagNameMap>(
            selectors: K,
        ): HTMLElementTagNameMap[K] | null
      • Returns the first element that is a descendant of node that matches selectors.

        MDN Reference

        Type Parameters

        • K extends keyof HTMLElementTagNameMap

        Parameters

        • selectors: K

        Returns HTMLElementTagNameMap[K] | null

      • <K extends keyof SVGElementTagNameMap>(
            selectors: K,
        ): SVGElementTagNameMap[K] | null
      • Type Parameters

        • K extends keyof SVGElementTagNameMap

        Parameters

        • selectors: K

        Returns SVGElementTagNameMap[K] | null

      • <K extends keyof MathMLElementTagNameMap>(
            selectors: K,
        ): MathMLElementTagNameMap[K] | null
      • Type Parameters

        • K extends keyof MathMLElementTagNameMap

        Parameters

        • selectors: K

        Returns MathMLElementTagNameMap[K] | null

      • <K extends keyof HTMLElementDeprecatedTagNameMap>(
            selectors: K,
        ): HTMLElementDeprecatedTagNameMap[K] | null
      • Type Parameters

        • K extends keyof HTMLElementDeprecatedTagNameMap

        Parameters

        • selectors: K

        Returns HTMLElementDeprecatedTagNameMap[K] | null

      • <E extends Element = Element>(selectors: string): E | null
      • Type Parameters

        • E extends Element = Element

        Parameters

        • selectors: string

        Returns E | null