Function useImperativeHandleElement

  • Type Parameters

    • R
    • A = any
    • T = HTMLElement & A

    Parameters

    • refForwarded: Ref<R>
    • Optional attributeFn: (() => Partial<A>)
        • (): Partial<A>
        • Returns Partial<A>

    • deps: DependencyList = EMPTY_DEPS

    Returns React.MutableRefObject<R>