@knora/viewer
Version:
Knora ui module: viewer
22 lines (21 loc) • 729 B
TypeScript
import { ElementRef, EventEmitter } from '@angular/core';
import { IResourceClassAndPropertyDefinitions, ReadTextValueAsHtml } from '@knora/api';
export declare class TextValueAsHtmlComponent {
private el;
referredResourceClicked: EventEmitter<string>;
ontologyInfo: IResourceClassAndPropertyDefinitions;
bindEvents: Boolean;
valueObject: ReadTextValueAsHtml;
html: string;
private _htmlValueObj;
private _ontoInfo;
private _bindEvents;
constructor(el: ElementRef);
refResClicked(refResourceIri: string): void;
/**
* Binds a click event to standoff links that shows the referred resource.
*
* @param targetElement
*/
onClick(targetElement: any): boolean;
}