Hierarchy

Properties

eventItemStatusChanged: ListenableEvent<BasketItem, ItemStatusProvider>

Will be triggered everytime the status of an item has changed (after it was fetched initially).

Methods

  • Called if this instance is no longer in use. Should be used to clean-up resources.

    Returns Promise<void>

  • Fetches the status for the given items. Afterwards getItemStatusIcon() no longer returns undefined for these items (except if the status has changed).

    Parameters

    • pItems: readonly BasketItem[]

    Returns Promise<void>

  • Returns the currently known status icon for the given item. If the status is unknown (was not fetched yet) undefined will be returned. If the item has no icon null will be returned.

    Parameters

    • pItem: BasketItem

    Returns undefined | null | ItemStatusIcon

Generated using TypeDoc