OptionalcontrollerAlias: UmbControllerAliasThe addEventListener() method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.
Optionaloptions: boolean | AddEventListenerOptionsAppend more items to the manager. Use when more item after the base target has been loaded.
The items to append
Callback method called when context is resolved.
Reference to the created Context Consumer Controller instance
The dispatchEvent() method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order.
Gets the target that the pagination is based around
Optionaloptions: UmbClassGetContextOptionsA Promise with the reference to the Context Api Instance
Gets the items currently used in the pagination calculations.
Gets the last target of the current items. Use for load more items after the base target
Gets a new baseTarget from the already loaded items
Gets a new end target for the current item. Use for loading more items after the base target
Gets a new start target for the current item. Use for loading more items before the base target
Gets the first target of the current item. Use for loading more items before the base target
An Observable to observe from.
Optionalcallback: ObserverCallback<SpecificT>Callback method called when data is changed.
OptionalcontrollerAlias: null | UmbControllerAliasDefine an explicit controller alias. If not defined then one will be generated based on the callback function. If null is parsed no controller alias will be given.
Reference to the created Observer Controller instance.
Prepend more items to the manager. Use when more items before the base target has been loaded.
The items to prepend
The API instance to be exposed.
Reference to the created Context Provider Controller instance
The removeEventListener() method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target.
Optionaloptions: boolean | EventListenerOptionsSet the target that the pagination will be based around
The target
Sets the items that will be used in the pagination manager. The items will be used to calculate start and end targets.
The items to set
This mixin enables a web-component to host controllers. This enables controllers to be added to the life cycle of this element.