@iiif/3d-manifesto-dev
Version:
IIIF Presentation API utility library for client and server with 3D extension
15 lines (14 loc) • 536 B
TypeScript
import { PropertyValue } from "./internal";
export declare class LabelValuePair {
label: PropertyValue | null;
value: PropertyValue | null;
defaultLocale: string;
resource: any;
constructor(defaultLocale: string);
parse(resource: any): void;
getLabel(locale?: string | string[]): string | null;
setLabel(value: string): void;
getValue(locale?: string | string[], joinWith?: string): string | null;
getValues(locale?: string | string[]): Array<string | null>;
setValue(value: string): void;
}