Plumile JS API
    Preparing search index...

    Interface History

    Interface for history management implementations. Provides methods for navigation and listening to location changes.

    interface History {
        init: () => void;
        push: (location: HistoryLocation) => void;
        set: (location: HistoryLocation) => void;
        subscribe: (listener: HistoryListener) => () => void;
    }

    Implemented by

    Index

    Properties

    Properties

    init: () => void

    Initialize the history instance

    push: (location: HistoryLocation) => void

    Navigate to a new location

    set: (location: HistoryLocation) => void

    Replace the current history entry

    subscribe: (listener: HistoryListener) => () => void

    Subscribe to location changes