@umbraco-cms/backoffice
    Preparing search index...

    Class UmbDefaultCollectionContext<CollectionItemType, FilterModelType>

    This base provides the necessary for a class to become a context-api controller.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index
    _configured: boolean = false
    _filter: UmbObjectState<object | FilterModelType> = ...
    _init: Promise<void> = ...
    _loading: UmbObjectState<boolean> = ...
    _manifest?: ManifestCollection
    _selectOnly: UmbBooleanState<undefined> = ...
    _totalItems: UmbNumberState<number> = ...
    bulkAction: UmbCollectionBulkActionManager = ...
    filter: Observable<object | FilterModelType> = ...
    interactionMemory: UmbInteractionMemoryManager = ...
    loadCollection: UmbDebouncedFunction<() => Promise<void>> = ...
    loading: Observable<boolean> = ...
    pagination: UmbPaginationManager = ...
    selection: UmbCollectionSelectionManager<UmbCollectionItemModel> = ...
    selectOnly: Observable<boolean | undefined> = ...
    totalItems: Observable<number> = ...
    userDefinedProperties: Observable<UmbCollectionColumnConfiguration[]> = ...
    valueSummaryCoordinator: UmbValueSummaryCoordinatorContext = ...
    view: UmbCollectionViewManager = ...
    workspacePathBuilder: Observable<UmbModalRouteBuilder | undefined> = ...
    • The addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.

      MDN Reference

      Parameters

      • type: string
      • callback: EventListenerOrEventListenerObject | null
      • Optionaloptions: boolean | AddEventListenerOptions

      Returns void

    • The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.

      MDN Reference

      Parameters

      • event: Event

      Returns boolean

    • Returns the alias of the view the collection was last left in.

      Parameters

      • unique: string | undefined

        The unique of the entity holding the collection.

      Returns string | undefined

      The alias of the last selected view.

      Deprecated since v17. The current view is remembered in the interaction memory of the collection, see the UmbCollectionCurrentView memory on .interactionMemory. Scheduled for removal in Umbraco 19.

    • The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.

      MDN Reference

      Parameters

      • type: string
      • callback: EventListenerOrEventListenerObject | null
      • Optionaloptions: boolean | EventListenerOptions

      Returns void

    • Stores the alias of the view the collection was last left in.

      Parameters

      • unique: string | undefined

        The unique of the entity holding the collection.

      • viewAlias: string

        The alias of the view.

      Returns void

      Deprecated since v17. The current view is remembered in the interaction memory of the collection, see the UmbCollectionCurrentView memory on .interactionMemory. Scheduled for removal in Umbraco 19.