• [Deprecated] Function to get closest element, in use by AnimatedLabel

    Export

    Returns

    {*}

    Parameters

    • elem: HTMLElement
    • selector: string

    Returns any