瀏覽代碼

Merge pull request #3685 from lechten/extend-search-API

Extend search API
Hakim El Hattab 11 月之前
父節點
當前提交
669cc25e55
共有 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
 
 	}
 };

File diff suppressed because it is too large
+ 0 - 0
plugin/search/search.esm.js


File diff suppressed because it is too large
+ 0 - 0
plugin/search/search.js


Some files were not shown because too many files changed in this diff