iportal
Version:
web-portal
20 lines (19 loc) • 739 B
TypeScript
import { Application } from '../Application';
import { TransformProptey } from './proptey';
import { PopState } from '../types';
declare class TransformHistory extends TransformProptey {
history: number;
historyIndex: number;
historyDirection: number;
private backoutCount;
private silentObserver;
constructor(app: Application);
private bindHistoryState;
private obserSilent;
popstate(state: PopState): void;
pushState(id?: string, title?: string, search?: string, param?: string): void;
replaceState(id?: string, title?: string, search?: string, param?: string): void;
back(state?: PopState): Promise<void>;
checkSingleLock(): boolean;
}
export { TransformHistory };