Skip to content

Pagination Page Number

This webcomponent is responsible for rendering an input for a list pagination, eg. a product list. It listens to changes and updates the page according to the input value.

Children of the Pagination Page Number

This webcomponent requires exactly one <input> element to be inside it. pagination-page-number watches the changes that are being made to this input.

Attributes

Attribute name Type Description
pagination-url (mandatory) string A url of the product list pagination to refer to

Event Bus events

This webcomponent dispatches the following events with the Event Bus:

Example

    <pagination-page-number pagination-url="https://example.com/list">
        <input value="1"></input>
    </pagination-page-number>