1
0
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:
Jens Lechtenbörger
2024-09-29 12:48:39 +02:00
parent 472535065c
commit 2dcbf2745e
3 changed files with 5 additions and 3 deletions

View File

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