UNPKG

@knora/viewer

Version:
20 lines (19 loc) 714 B
import { Router } from '@angular/router'; import { IResourceClassAndPropertyDefinitions, ReadResource } from '@knora/api'; export declare class ListViewComponent { private _router; /** * @param {any} result Search result received from SearchResultsComponent */ result: ReadResource[]; /** * @param {IResourceClassAndPropertyDefinitions} ontologyInfo Ontology information received from SearchResultsComponent */ ontologyInfo: IResourceClassAndPropertyDefinitions; constructor(_router: Router); /** * Navigate to the resource viewer when clicking on one resource of the search result list * @param {string} id */ openResource(id: string): void; }