happy-dom
Version:
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
24 lines • 558 B
TypeScript
import type IHistoryItem from './IHistoryItem.js';
/**
* History item list.
*/
export default class HistoryItemList {
currentItem: IHistoryItem;
readonly items: IHistoryItem[];
/**
* History item list.
*
* @param historyItem History item.
*/
push(historyItem: IHistoryItem): void;
/**
*
* @param historyItem
*/
replace(historyItem: IHistoryItem): void;
/**
* Clears history and sets current item to "about:blank".
*/
clear(): void;
}
//# sourceMappingURL=HistoryItemList.d.ts.map