docs: function Chips(el, options) {
        _classCallCheck(this, Chips);
  
        var _this25 = _possibleConstructorReturn(this, (Chips.__proto__ || Object.getPrototypeOf(Chips)).call(this, Chips, el, options));
  
        _this25.el.M_Chips = _this25;
  
        /**
         * Options for the modal
         * @member Chips#options
         * @prop {Array} data
         * @prop {String} placeholder
         * @prop {String} secondaryPlaceholder
         * @prop {Object} autocompleteOptions
         */
        _this25.options = $.extend({}, Chips.defaults, options);
  
        _this25.$el.addClass('chips input-field');
        _this25.chipsData = [];
        _this25.$chips = $();
        _this25._setupInput();
        _this25.hasAutocomplete = Object.keys(_this25.options.autocompleteOptions).length > 0;
  
        // Set input id
        if (!_this25.$input.attr('id')) {
          _this25.$input.attr('id', M.guid());
        }
  
        // Render initial chips
        if (_this25.options.data.length) {
          _this25.chipsData = _this25.options.data;
          _this25._renderChips(_this25.chipsData);
        }
  
        // Setup autocomplete if needed
        if (_this25.hasAutocomplete) {
          _this25._setupAutocomplete();
        }
  
        _this25._setPlaceholder();
        _this25._setupLabel();
        _this25._setupEventHandlers();
        return _this25;
      }