UNPKG

manifesto.js

Version:

IIIF Presentation API utility library for client and server

25 lines (24 loc) 919 B
import { ManifestResource, PropertyValue, LabelValuePair, TreeNode, IManifestoOptions, Collection } from "./internal"; import { IIIFResourceType } from "@iiif/vocabulary/dist-commonjs"; export declare class IIIFResource extends ManifestResource { defaultTree: TreeNode; index: number; isLoaded: boolean; parentCollection: Collection; parentLabel: string; constructor(jsonld?: any, options?: IManifestoOptions); getAttribution(): PropertyValue; getDescription(): PropertyValue; getIIIFResourceType(): IIIFResourceType; getLogo(): string | null; getLicense(): string | null; getNavDate(): Date; getRelated(): any; getSeeAlso(): any; getTrackingLabel(): string; getDefaultTree(): TreeNode; getRequiredStatement(): LabelValuePair | null; isCollection(): boolean; isManifest(): boolean; load(): Promise<IIIFResource>; }