• Overview
@angular/core

OutputRef

interface

A reference to an Angular output.

  
    interface OutputRef<T> {}
  
  

Registers a callback that is invoked whenever the output emits a new value of type T.

Angular will automatically clean up the subscription when the directive/component of the output is destroyed.

@paramcallback(value: T) => void
Jump to details