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

    Variable qsConst

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

    Type declaration

      • <K extends keyof HTMLElementTagNameMap>(
            selectors: K,
        ): null | HTMLElementTagNameMap[K]
      • 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 null | HTMLElementTagNameMap[K]

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

        • K extends keyof SVGElementTagNameMap

        Parameters

        • selectors: K

        Returns null | SVGElementTagNameMap[K]

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

        • K extends keyof MathMLElementTagNameMap

        Parameters

        • selectors: K

        Returns null | MathMLElementTagNameMap[K]

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

        • K extends keyof HTMLElementDeprecatedTagNameMap

        Parameters

        • selectors: K

        Returns null | HTMLElementDeprecatedTagNameMap[K]

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

        • E extends Element = Element

        Parameters

        • selectors: string

        Returns null | E