W3cubDocs

/Angular 2

ForwardRefFn

Experimental Interface

Interface Overview

interface ForwardRefFn {
}

Interface Description

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

Example

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

exported from @angular/core/index, defined in @angular/core/src/di/forward_ref.ts

© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://v2.angular.io/docs/ts/latest/api/core/index/ForwardRefFn-interface.html