TomTom Maps for JavaScript
    Preparing search index...

    Interface EntryModeSlice

    A state slice that owns a history of entries and can be set to single or multiple mode. Every ToolState slice with setEntryMode implements this shape, which lets callers (the setEntryMode tool, createMapAgent's dataEntries option, …) handle the whole family uniformly without listing slice names.

    interface EntryModeSlice {
        entries: readonly { id: string }[];
        entryMode: EntryMode;
        setEntryMode(mode: EntryMode): Promise<void>;
    }
    Index
    entries: readonly { id: string }[]
    entryMode: EntryMode
    • Parameters

      Returns Promise<void>