Browse Source

feat(lib): implement output signal

pull/6555/head
KenTandrian 3 weeks ago
parent
commit
9c8b48e285
  1. 5
      libs/ui/src/lib/benchmark/benchmark.component.ts

5
libs/ui/src/lib/benchmark/benchmark.component.ts

@ -17,11 +17,10 @@ import {
ChangeDetectionStrategy, ChangeDetectionStrategy,
Component, Component,
DestroyRef, DestroyRef,
EventEmitter,
Input, Input,
OnChanges, OnChanges,
Output,
inject, inject,
output,
viewChild viewChild
} from '@angular/core'; } from '@angular/core';
import { takeUntilDestroyed } from '@angular/core/rxjs-interop'; import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
@ -70,7 +69,7 @@ export class GfBenchmarkComponent implements OnChanges {
@Input() showSymbol = true; @Input() showSymbol = true;
@Input() user: User; @Input() user: User;
@Output() itemDeleted = new EventEmitter<AssetProfileIdentifier>(); public readonly itemDeleted = output<AssetProfileIdentifier>();
protected readonly sort = viewChild(MatSort); protected readonly sort = viewChild(MatSort);

Loading…
Cancel
Save