@smilodon/core 1.1.4 → 1.1.5

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.
package/dist/index.umd.js CHANGED
@@ -2508,6 +2508,7 @@
2508
2508
  this._hasError = false;
2509
2509
  this._errorMessage = '';
2510
2510
  this._boundArrowClick = null;
2511
+ this._isReady = false;
2511
2512
  // Unique class prefix to avoid conflicts
2512
2513
  this.PREFIX = 'smilodon-ang-';
2513
2514
  this._uniqueId = `angular-select-${Math.random().toString(36).substr(2, 9)}`;
@@ -2557,6 +2558,8 @@
2557
2558
  if (this._config.serverSide.enabled && this._config.serverSide.initialSelectedValues) {
2558
2559
  this._loadInitialSelectedItems();
2559
2560
  }
2561
+ // Mark element as ready
2562
+ this._isReady = true;
2560
2563
  }
2561
2564
  disconnectedCallback() {
2562
2565
  // Cleanup observers
@@ -3327,6 +3330,9 @@
3327
3330
  }
3328
3331
  }
3329
3332
  // Public API methods
3333
+ isReady() {
3334
+ return this._isReady;
3335
+ }
3330
3336
  setItems(items) {
3331
3337
  this._state.loadedItems = items;
3332
3338
  this._renderOptions();