jodit-pro
Version:
PRO Version of Jodit Editor
25 lines (24 loc) • 925 B
TypeScript
/*!
* Jodit Editor PRO (https://xdsoft.net/jodit/)
* See LICENSE.md in the project root for license information.
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
*/
import { ViewComponent } from "jodit/esm/core/component/view-component";
import type { IFileBrowserStatePro, IHistoryItem, IHistoryManager } from "../interface";
export declare class HistoryManager extends ViewComponent implements IHistoryManager {
readonly state: IFileBrowserStatePro;
private history;
private historyIndex;
/** @override */
className(): string;
constructor(jodit: ViewComponent['jodit'], state: IFileBrowserStatePro);
canNext(): boolean;
canPrevious(): boolean;
push(item: IHistoryItem): void;
next(): void;
previous(): void;
updateCurrent(): void;
protected onHome(): void;
protected onOpenFolder(): void;
private updateState;
}