com.phloxui
Version:
PhloxUI Ng2+ Framework
15 lines (14 loc) • 575 B
TypeScript
import { IHistoryManaged } from './IHistoryManaged';
import { UIHistory } from './model/UIHistory';
export interface IHistoryManager {
makeFirstHistory(component: IHistoryManaged, name?: string): UIHistory;
makeHistory(component: IHistoryManaged, name?: string): UIHistory;
undo(steps: number): Promise<UIHistory>;
redo(steps: number): Promise<UIHistory>;
canUndo(): boolean;
canRedo(): boolean;
clearForwardHistories(): UIHistory[];
clearBackwardHistories(): UIHistory[];
clearHistories(): UIHistory[];
getHistories(): UIHistory[];
}