mirror of https://github.com/ColorlibHQ/AdminLTE
17 lines
474 B
TypeScript
17 lines
474 B
TypeScript
|
/**
|
||
|
* A wrapper class around the window object to manage the
|
||
|
* resize event.
|
||
|
*
|
||
|
* When the user resizes the window, Filterizr needs to trigger
|
||
|
* a refiltering of the grid so that the grid items can assume
|
||
|
* their new positions.
|
||
|
*/
|
||
|
export default class BrowserWindow {
|
||
|
private resizeHandler?;
|
||
|
constructor();
|
||
|
private debounceEventHandler;
|
||
|
destroy(): void;
|
||
|
setResizeEventHandler(resizeHandler: EventListener): void;
|
||
|
private removeResizeHandler;
|
||
|
}
|