UNPKG

@knora/viewer

Version:
38 lines (37 loc) 992 B
import { OnInit } from '@angular/core'; import { Router } from '@angular/router'; import { TempProperty } from '..'; /** * Shows all metadata (properties) in the resource viewer * */ export declare class PropertiesViewComponent implements OnInit { protected _router: Router; /** * Array of property object with ontology class prop def, list of properties and corresponding values * * @param {TempProperty} propArray */ propArray: TempProperty; /** * Show all properties, even they don't have a value. * * @param {boolean} [allProps] */ allProps?: boolean; /** * Show toolbar with project info and some action tools * * @param {boolean} [toolbar] */ toolbar?: boolean; loading: boolean; constructor(_router: Router); ngOnInit(): void; /** * Navigate to the incoming resource view. * * @param {string} id Incoming resource iri */ openLink(id: string): void; }