mirror of
https://github.com/flarum/framework.git
synced 2025-01-10 21:35:38 +08:00
c3a684c7ed
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
28 lines
579 B
TypeScript
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;
|
|
}
|