gd-bs 6.5.2 → 6.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -180,6 +180,8 @@ var _Pagination = /** @class */ (function (_super) {
180
180
  this._items = [];
181
181
  // Create the previous link
182
182
  var item = this.createItem("Previous", itemTemplate);
183
+ item.classList.add("disabled");
184
+ item.classList.add("previous");
183
185
  list.appendChild(item);
184
186
  // Loop for the number of pages to create
185
187
  // Parse the number of pages
@@ -192,6 +194,8 @@ var _Pagination = /** @class */ (function (_super) {
192
194
  }
193
195
  // Create the next link
194
196
  item = this.createItem("Next", itemTemplate);
197
+ pages > 1 ? null : item.classList.add("disabled");
198
+ item.classList.add("next");
195
199
  list.appendChild(item);
196
200
  };
197
201
  return _Pagination;