By default the Sidebar will use window.localStorage to store data. The integration can provide this interface in window.acrolinxStorage as replacement for window.localStorage.

interface AcrolinxStorage {
    getItem(key: string): null | string;
    removeItem(key: string): void;
    setItem(key: string, data: string): void;
}

Methods

  • Parameters

    • key: string

    Returns null | string

  • Parameters

    • key: string

    Returns void

  • Parameters

    • key: string
    • data: string

    Returns void