• Overview
@angular/core/rxjs-interop

outputToObservable

function

Converts an Angular output declared via output() or outputFromObservable() to an observable.

  
    function outputToObservable<T>(  ref: OutputRef<T>): Observable<T>;
  
  

outputToObservable

Observable<T>

Converts an Angular output declared via output() or outputFromObservable() to an observable.

You can subscribe to the output via Observable.subscribe then.

@paramrefOutputRef<T>
@returnsObservable<T>
Jump to details