set pageSize(value) {
    let nextValue;

    if (Number.isNaN(Number.parseInt(value))) {
      nextValue = 1;
    } else {
      nextValue = Number.parseInt(value);
    }

    if (parseInt(this.getAttribute(attributes.PAGE_SIZE)) !== nextValue) {
      this.setAttribute(attributes.PAGE_SIZE, nextValue);
    }

    this.#populatePageNumberButtons();
  }
/**
   * @param {string|number} value The number of items shown per page
   */
@param {string|number} value The number of items shown per page
@param { string|number } value The number of items shown per page
set pageSize(value) {
    let nextValue;
    if (Number.isNaN(Number.parseInt(value))) {
      nextValue = 1;
    } else {
      nextValue = Number.parseInt(value);
    }
    if (parseInt(this.getAttribute(attributes.PAGE_SIZE)) !== nextValue) {
      this.setAttribute(attributes.PAGE_SIZE, nextValue);
    }
    this.#populatePageNumberButtons();
  }
set pageSize ( value ) { let nextValue ; if ( Number . isNaN ( Number . parseInt ( value ) ) ) { nextValue = 1 ; } else { nextValue = Number . parseInt ( value ) ; } if ( parseInt ( this . getAttribute ( attributes . PAGE_SIZE ) ) !== nextValue ) { this . setAttribute ( attributes . PAGE_SIZE , nextValue ) ; } this . #populatePageNumberButtons ( ) ; }
@param {string|number} value The number of items shown per page
@param { string|number } value The number of items shown per page