@acdh-oeaw/universalviewer
Version:
The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎
13 lines (12 loc) • 523 B
TypeScript
import { UVAdapter } from "../../UVAdapter";
import { UniversalViewer } from "../../UniversalViewer";
import { IUVData } from "../../IUVData";
export declare class URLAdapter extends UVAdapter {
constructor(readonly?: boolean);
get<T>(key: string, defaultValue?: T | undefined): T | undefined;
getFragment(key: string, url: string): string | null;
set<T>(key: string, value: T): void;
getInitialData(overrides?: IUVData<any>): IUVData<any>;
dispose(): void;
bindTo(uv: UniversalViewer): void;
}