paperless-ngx/src-ui/src/app/components/search/result-hightlight/result-hightlight.component.ts

20 lines
440 B
TypeScript
Raw Normal View History

2020-10-27 01:10:18 +01:00
import { Component, Input, OnInit } from '@angular/core';
2020-11-02 12:25:02 +01:00
import { SearchHitHighlight } from 'src/app/data/search-result';
2020-10-27 01:10:18 +01:00
@Component({
selector: 'app-result-hightlight',
templateUrl: './result-hightlight.component.html',
styleUrls: ['./result-hightlight.component.scss']
2020-10-27 01:10:18 +01:00
})
export class ResultHightlightComponent implements OnInit {
constructor() { }
@Input()
2020-11-02 12:25:02 +01:00
highlights: SearchHitHighlight[][]
2020-10-27 01:10:18 +01:00
ngOnInit(): void {
}
}