update packages and add valign
This commit is contained in:
15
scripts/reveal.js/plugin/search/index.ts
Normal file
15
scripts/reveal.js/plugin/search/index.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { RevealPlugin } from 'reveal.js';
|
||||
|
||||
// @ts-expect-error The runtime implementation remains in JS during the migration.
|
||||
import SearchImplementation from './plugin.js';
|
||||
|
||||
export interface SearchPlugin extends RevealPlugin {
|
||||
id: 'search';
|
||||
open(): void;
|
||||
close(): void;
|
||||
toggle(): void;
|
||||
}
|
||||
|
||||
const Search = SearchImplementation as () => SearchPlugin;
|
||||
|
||||
export default Search;
|
||||
Reference in New Issue
Block a user