function items(newItems) {
        if (this.hasProvider || newItems instanceof Function) {
          this.$nextTick(this._providerUpdate);
        } else if (isArray(newItems)) {
          // Set localItems/filteredItems to a copy of the provided array
          this.localItems = newItems.slice();
        } else {
          this.localItems = [];
        }
      }
// Watch props for changes and update local values
Watch props for changes and update local values
Watch props for changes and update local values
function items(newItems) {
        if (this.hasProvider || newItems instanceof Function) {
          this.$nextTick(this._providerUpdate);
        } else if (isArray(newItems)) {
          this.localItems = newItems.slice();
        } else {
          this.localItems = [];
        }
      }
function items ( newItems ) { if ( this . hasProvider || newItems instanceof Function ) { this . $nextTick ( this . _providerUpdate ) ; } else if ( isArray ( newItems ) ) { this . localItems = newItems . slice ( ) ; } else { this . localItems = [ ] ; } }
Watch props for changes and update local values
Watch props for changes and update local values
// Set localItems/filteredItems to a copy of the provided array