This commit removes all the docregion tags in examples that are not being referenced in any doc. PR Close #40479
21 lines
491 B
TypeScript
21 lines
491 B
TypeScript
import { Component, Output, EventEmitter } from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'app-item-output',
|
|
templateUrl: './item-output.component.html',
|
|
styleUrls: ['./item-output.component.css']
|
|
})
|
|
|
|
// #docregion item-output-class
|
|
export class ItemOutputComponent {
|
|
// #docregion item-output
|
|
|
|
@Output() newItemEvent = new EventEmitter<string>();
|
|
|
|
// #enddocregion item-output
|
|
addNewItem(value: string) {
|
|
this.newItemEvent.emit(value);
|
|
}
|
|
}
|
|
// #enddocregion item-output-class
|