소스 검색

Extend search API

Previously, only openSearch() was exported.  For symmetry, add
closeSearch().  For convenience, also add toggleSearch().
Jens Lechtenbörger 7 달 전
부모
커밋
2dcbf2745e
3개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      plugin/search/plugin.js
  2. 0 0
      plugin/search/search.esm.js
  3. 0 0
      plugin/search/search.js

+ 3 - 1
plugin/search/plugin.js

@@ -235,7 +235,9 @@ const Plugin = () => {
 
 		},
 
-		open: openSearch
+		open: openSearch,
+		close: closeSearch,
+		toggle: toggleSearch
 
 	}
 };

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
plugin/search/search.esm.js


파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
plugin/search/search.js


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.