UNPKG

@egjs/flicking

Version:

Everyday 30 million people experience. It's reliable, flexible and extendable carousel.

28 lines (27 loc) 740 B
import Flicking from "../Flicking"; /** * A component that detects size change and trigger resize method when the autoResize option is used */ declare class AutoResizer { private _flicking; private _enabled; private _resizeObserver; private _resizeTimer; private _maxResizeDebounceTimer; get enabled(): boolean; /** * @param flicking */ constructor(flicking: Flicking); enable(): this; observePanels(): this; unobservePanels(): this; observe(element: HTMLElement): this; unobserve(element: HTMLElement): this; disable(): this; private _onResizeWrapper; private _onResize; private _doScheduledResize; private _skipFirstResize; } export default AutoResizer;