typedoc-theme-yaf
Version:
A fresh, opinionated and standalone front-end documentation application consuming Typedoc generated data.
31 lines (30 loc) • 860 B
TypeScript
import { scrollTo } from './index.js';
export declare const rollMenuDown: () => Event;
export declare const rollMenuUp: () => Event;
export type toggle = {
state?: 'open' | 'close';
};
export declare const toggle: (state?: toggle['state']) => CustomEvent<toggle>;
export type search = {
searchString: string;
};
export declare const search: (searchString: search['searchString']) => CustomEvent<search>;
export interface menu {
/**
* Scrolls the main navigation menu to the given id.
*/
scrollTo: scrollTo;
/**
* Expands all drawers of the main navigation menu
*/
rollMenuDown: null;
/**
* Contracts all drawers of the main navigation menu
*/
rollMenuUp: null;
/**
* Toggle the open/close state of the main navigation menu in mobile views
*/
toggle: toggle;
search: search;
}