ForwardRefFn

From Get docs
< @angular/coreAngular/docs/10/api/core/forwardreffn


ForwardRefFn

interface

An interface that a function passed into forwardRef has to implement.

interface ForwardRefFn {
  (): any
}

Methods

(): any

Parameters

There are no parameters.

Returns

any


Usage notes

Example

const ref = forwardRef(() => Lock);

© 2010–2020 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v10.angular.io/api/core/ForwardRefFn