소스 검색

Implement Dropdown.bind

This closes https://github.com/select2/select2/issues/3239
Kevin Brown 9 년 전
부모
커밋
89858c418d
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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
   };