mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-20 21:41:25 +02:00
Extend search API
Previously, only openSearch() was exported. For symmetry, add closeSearch(). For convenience, also add toggleSearch().
This commit is contained in:
@@ -235,7 +235,9 @@ const Plugin = () => {
|
||||
|
||||
},
|
||||
|
||||
open: openSearch
|
||||
open: openSearch,
|
||||
close: closeSearch,
|
||||
toggle: toggleSearch
|
||||
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user