DIR : /home/kozerus/public_html/cropex/node/node_modules/wouter/types/memory-location.d.ts
/home/kozerus/public_html/cropex/node/node_modules/wouter/types
import {
BaseLocationHook,
BaseSearchHook,
Path,
SearchString,
} from "./location-hook.js";
type Navigate<S = any> = (
to: Path,
options?: { replace?: boolean; state?: S; transition?: boolean }
) => void;
type HookReturnValue<S = unknown> = {
hook: BaseLocationHook;
searchHook: BaseSearchHook;
navigate: Navigate<S>;
readonly state: S | null;
};
type StubHistory = { history: Path[]; reset: () => void };
export function memoryLocation<S = unknown>(options?: {
path?: Path;
searchPath?: SearchString;
state?: S;
static?: boolean;
record?: false;
}): HookReturnValue<S>;
export function memoryLocation<S = unknown>(options?: {
path?: Path;
searchPath?: SearchString;
state?: S;
static?: boolean;
record: true;
}): HookReturnValue<S> & StubHistory;
//
koh5_pano
Drag mouse to navigate.
Navigation
- Left/Right Mouse drag: Changes camera heading.
- Up/Sown Mouse drag: Changes camera pitch.
- Scroll wheel: Changes camera field of view.
- I-Key: Displays Info panel with canvas size, image size and FPS.
17.Aug.2010, Martin Wengenmayer