[]
Defines the interface for interacting with the HistoryService, allowing navigation and management of the page view history.
public interface IHistoryApi
This interface provides methods for navigating through the history of viewed pages, as well as retrieving information about the history state, such as the total number of pages viewed and the current position within the history. It also allows for clearing the history.
Name | Description |
---|---|
Count | Gets the total number of page views stored in the history. |
Position | Gets the current position within the navigation history, indicating the current page view. |
Name | Description |
---|---|
Clear() | Clears all page views from the history, resetting the history state. |
MoveNext() | Navigates forward to the next page view in the history, if available. |
MovePrev() | Navigates backward to the previous page view in the history, if available. |