Pete Bacon Darwin 4a9f7daf37 docs: remove unused "docregions" (#40479)
This commit removes all the docregion tags in examples that are not
being referenced in any doc.

PR Close #40479
2021-01-20 16:12:15 -08:00

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