UNPKG

@keerthanask/page-flip

Version:

Powerful, simple and flexible JS Library for creating realistic and beautiful page turning effect

19 lines (18 loc) 593 B
import { UI } from './UI'; import { PageFlip } from '../PageFlip'; import { FlipSetting } from '../Settings'; /** * UI for HTML mode */ export declare class HTMLUI extends UI { private items; constructor(inBlock: HTMLElement, app: PageFlip, setting: FlipSetting, items: NodeListOf<HTMLElement> | HTMLElement[]); clear(): void; /** * Update page list from HTMLElements * * @param {(NodeListOf<HTMLElement>|HTMLElement[])} items - List of pages as HTML Element */ updateItems(items: NodeListOf<HTMLElement> | HTMLElement[]): void; update(): void; }