Harmless
    Preparing search index...

    Class Reference<T>

    Simple element reference which can be passed to a ref attribute on HTML elements.

    Type Parameters

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Returns T | null

      The referenced HTML element or null if not set yet.

    • Sets the referenced HTML element.

      Parameters

      • element: T

        The HTML element to set.

      Returns void