gd-bs 6.0.8 → 6.0.9

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.
@@ -264,6 +264,17 @@ var _Navbar = /** @class */ (function (_super) {
264
264
  /**
265
265
  * Public Methods
266
266
  */
267
+ // Returns the current search value
268
+ _Navbar.prototype.getSearchValue = function () {
269
+ // Get the searchbox element
270
+ var searchbox = this.el.querySelector("form input");
271
+ if (searchbox) {
272
+ // Return the value
273
+ return searchbox.value;
274
+ }
275
+ // Return nothing by default
276
+ return "";
277
+ };
267
278
  // Updates the navbar template type
268
279
  _Navbar.prototype.setType = function (navbarType) {
269
280
  // Remove the classes