/home/techb158/workloadmatch.com/bower_components/select2/src/js/select2
NameSizeModeActions
compat/-0777rm
data/-0777rm
dropdown/-0777rm
i18n/-0777rm
selection/-0777rm
core.js154070777editdlrm
defaults.js106080777editdlrm
diacritics.js161650777editdlrm
dropdown.js9020777editdlrm
keys.js3150777editdlrm
options.js32540777editdlrm
results.js129340777editdlrm
translation.js7170777editdlrm
utils.js66780777editdlrm
Edit: /home/techb158/workloadmatch.com/bower_components/select2/src/js/select2/dropdown.js (902B)
define([ 'jquery', './utils' ], function ($, Utils) { function Dropdown ($element, options) { this.$element = $element; this.options = options; Dropdown.__super__.constructor.call(this); } Utils.Extend(Dropdown, Utils.Observable); Dropdown.prototype.render = function () { var $dropdown = $( '' + '' + '' ); $dropdown.attr('dir', this.options.get('dir')); this.$dropdown = $dropdown; return $dropdown; }; Dropdown.prototype.bind = function () { // Should be implemented in subclasses }; Dropdown.prototype.position = function ($dropdown, $container) { // Should be implmented in subclasses }; Dropdown.prototype.destroy = function () { // Remove the dropdown from the DOM this.$dropdown.remove(); }; return Dropdown; });