framework/js/dist-typings/common/utils/Drawer.d.ts
flarum-bot c3a684c7ed Bundled output for commit 3537f76eab
Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
2021-05-12 23:29:46 +00:00

28 lines
579 B
TypeScript

/**
* The `Drawer` class controls the page's drawer. The drawer is the area the
* slides out from the left on mobile devices; it contains the header and the
* footer.
*/
export default class Drawer {
/**
* Check whether or not the drawer is currently open.
*
* @return {Boolean}
* @public
*/
public isOpen(): boolean;
/**
* Hide the drawer.
*
* @public
*/
public hide(): void;
/**
* Show the drawer.
*
* @public
*/
public show(): void;
$backdrop: JQuery<HTMLElement> | undefined;
}