@keerthanask/page-flip
Version:
Powerful, simple and flexible JS Library for creating realistic and beautiful page turning effect
17 lines (16 loc) • 414 B
TypeScript
import { UI } from "./UI";
import { PageFlip } from "../PageFlip";
import { FlipSetting } from "../Settings";
/**
* UI for canvas mode
*/
export declare class CanvasUI extends UI {
private readonly canvas;
constructor(inBlock: HTMLElement, app: PageFlip, setting: FlipSetting);
private resizeCanvas;
/**
* Get canvas element
*/
getCanvas(): HTMLCanvasElement;
update(): void;
}