Ver Fonte

Implement Dropdown.bind

This closes https://github.com/select2/select2/issues/3239
Kevin Brown há 9 anos atrás
pai
commit
89858c418d
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      src/js/select2/dropdown.js

+ 4 - 0
src/js/select2/dropdown.js

@@ -25,6 +25,10 @@ define([
     return $dropdown;
   };
 
+  Dropdown.prototype.bind = function () {
+    // Should be implemented in subclasses
+  };
+
   Dropdown.prototype.position = function ($dropdown, $container) {
     // Should be implmented in subclasses
   };