TomTom Maps for JavaScript
    Preparing search index...

    Interface EntryModeSlice

    State slice that owns a history of entries and can be driven into 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

    Properties

    Methods

    Properties

    entries: readonly { id: string }[]
    entryMode: EntryMode

    Methods

    • Parameters

      Returns Promise<void>