This is the archived documentation for Angular v6. Please visit angular.io to see documentation for the current version of Angular.

ForwardRefFn

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

interface ForwardRefFn { (): any }
      
      interface ForwardRefFn {
  (): any
}
    

Methods

(): any
      
      (): any
    

Parameters

There are no parameters.

Returns

any

Usage notes

Example

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