docs: correct description of output decorator and add links to guide (#31780)

PR Close #31780
This commit is contained in:
Judy Bogart
2019-08-06 08:08:02 -07:00
committed by Alex Rickabaugh
parent 2913340af7
commit 17e289c39f
3 changed files with 9 additions and 5 deletions

View File

@ -58,7 +58,7 @@ import {Subject, Subscription} from 'rxjs';
* <zippy (open)="onOpen($event)" (close)="onClose($event)"></zippy>
* ```
*
* @see [Observables: Event emitter](guide/observables-in-angular#event-emitter)
* @see [Observables in Angular](guide/observables-in-angular)
* @publicApi
*/
export class EventEmitter<T extends any> extends Subject<T> {

View File

@ -678,6 +678,8 @@ export interface InputDecorator {
* })
* class App {}
* ```
*
* @see [Input and Output properties](guide/template-syntax#input-and-output-properties)
*/
(bindingPropertyName?: string): any;
new (bindingPropertyName?: string): any;
@ -721,6 +723,8 @@ export interface OutputDecorator {
*
* See `Input` decorator for an example of providing a binding name.
*
* @see [Input and Output properties](guide/template-syntax#input-and-output-properties)
*
*/
(bindingPropertyName?: string): any;
new (bindingPropertyName?: string): any;