angular / 4.4.6 / api / core / forwardreffn.html /

ForwardRefFn

interface

npm Package @angular/core
Module import { ForwardRefFn } from '@angular/core';
Source core/src/di/forward_ref.ts

Interface Overview

interface ForwardRefFn { 
  (): any
}

Description

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

Example

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

Members

(): any

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