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

20 lines
436 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({
2020-11-23 23:39:42 +01:00
selector: 'app-result-highlight',
templateUrl: './result-highlight.component.html',
styleUrls: ['./result-highlight.component.scss']
2020-10-27 01:10:18 +01:00
})
2020-11-23 23:39:42 +01:00
export class ResultHighlightComponent implements OnInit {
2020-10-27 01:10:18 +01:00
constructor() { }
@Input()
2020-11-02 12:25:02 +01:00
highlights: SearchHitHighlight[][]
2020-10-27 01:10:18 +01:00
ngOnInit(): void {
}
}