MCPcopy Create free account
hub / github.com/angular/angular / CancelButton

Class CancelButton

packages/core/test/debug/debug_node_spec.ts:1268–1274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1266 it('should clear event listeners when node is destroyed', () => {
1267 let calls = 0;
1268 @Component({
1269 selector: 'cancel-button',
1270 template: '',
1271 })
1272 class CancelButton {
1273 @Output() cancel = new EventEmitter<void>();
1274 }
1275
1276 @Component({
1277 template: '<cancel-button *ngIf="visible" (cancel)="cancel()"></cancel-button>',

Callers

nothing calls this directly

Calls 2

ComponentInterface · 0.90
OutputInterface · 0.90

Tested by

no test coverage detected