This is the documentation of version 0.51.3. Go to the latest version, 1.0.0.
TomTom Maps for JavaScript
    Preparing search index...

    Interface StateSlice

    Common interface for state slices. Implement reset() to participate in cleanup when destroy() is called on the agent.

    All built-in state classes implement this. Custom slices can optionally implement it to get automatic cleanup.

    interface StateSlice {
        reset(): void;
    }
    Index
    • Returns void