@danielgindi/selectbox 1.0.116 → 1.0.117

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/lib.cjs.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @danielgindi/selectbox 1.0.116
2
+ * @danielgindi/selectbox 1.0.117
3
3
  * git://github.com/danielgindi/selectbox.git
4
4
  */
5
5
  'use strict';
@@ -720,6 +720,20 @@ class DropList {
720
720
  return this;
721
721
  }
722
722
 
723
+ /**
724
+ * Should only be used if the items array has been manually manipulated.
725
+ * @return {DropList}
726
+ */
727
+ invalidate() {
728
+ const p = this._p;
729
+
730
+ p.virtualListHelper.
731
+ invalidate().
732
+ render();
733
+
734
+ return this;
735
+ }
736
+
723
737
  itemDataByValue(value) {
724
738
  const p = this._p;
725
739