illusory
Version:
Seamlessly morph one element into another.
9 lines (8 loc) • 412 B
TypeScript
import { IllusoryElement } from '../';
import { IIllusoryOptions } from '../options';
export interface IContainerControls {
setOpacity(opacity: string): void;
add(start: IllusoryElement, end: IllusoryElement): void;
destroy(start: IllusoryElement, end: IllusoryElement, canceled: boolean): Promise<void>;
}
export declare function createContainer(opts: IIllusoryOptions): IContainerControls;