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

    Variable byIdConst

    byId: (elementId: string) => null | HTMLElement = ...

    Type declaration

      • (elementId: string): null | HTMLElement
      • Returns a reference to the first object with the specified value of the ID attribute.

        Parameters

        • elementId: string

          String that specifies the ID value.

        Returns null | HTMLElement