%PDF- %PDF-
Direktori : /www/loslex/production/node_modules/select2/src/js/select2/selection/ |
Current File : /www/loslex/production/node_modules/select2/src/js/select2/selection/selectionCss.js |
define([ '../utils' ], function (Utils) { function SelectionCSS () { } SelectionCSS.prototype.render = function (decorated) { var $selection = decorated.call(this); var selectionCssClass = this.options.get('selectionCssClass') || ''; if (selectionCssClass.indexOf(':all:') !== -1) { selectionCssClass = selectionCssClass.replace(':all:', ''); Utils.copyNonInternalCssClasses($selection[0], this.$element[0]); } $selection.addClass(selectionCssClass); return $selection; }; return SelectionCSS; });