@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.es6.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
  import { createElement, closestUntil, setElementAttrs, next, prev } from '@danielgindi/dom-utils/lib/Dom';
@@ -718,6 +718,20 @@ class DropList {
718
718
  return this;
719
719
  }
720
720
 
721
+ /**
722
+ * Should only be used if the items array has been manually manipulated.
723
+ * @return {DropList}
724
+ */
725
+ invalidate() {
726
+ const p = this._p;
727
+
728
+ p.virtualListHelper
729
+ .invalidate()
730
+ .render();
731
+
732
+ return this;
733
+ }
734
+
721
735
  itemDataByValue(value) {
722
736
  const p = this._p;
723
737