All files / app/features/picture/components/picture-search-bar picture-search-bar.component.ts

100% Statements 6/6
100% Branches 0/0
100% Functions 2/2
100% Lines 5/5

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 182x 2x                 2x 9x     1x      
import { ChangeDetectionStrategy, Component, output } from '@angular/core';
import { TextInputComponent } from '@drevo-web/ui';
 
@Component({
    selector: 'app-picture-search-bar',
    imports: [TextInputComponent],
    templateUrl: './picture-search-bar.component.html',
    styleUrl: './picture-search-bar.component.scss',
    changeDetection: ChangeDetectionStrategy.OnPush,
})
export class PictureSearchBarComponent {
    readonly searchChange = output<string>();
 
    onValueChanged(value: string): void {
        this.searchChange.emit(value);
    }
}