UNPKG

@lordicon/element

Version:

This package offers developers a convenient method for embedding, controlling, and customizing animated icons from Lordicon within web projects.

18 lines (17 loc) 603 B
import { IPlayer, ITrigger } from '../interfaces'; /** * The __Loop__ trigger plays the animation from the first to the last frame infinitely, with no interaction necessary. */ export declare class Loop implements ITrigger { protected player: IPlayer; protected element: HTMLElement; protected targetElement: HTMLElement; protected playTimeout: any; constructor(player: IPlayer, element: HTMLElement, targetElement: HTMLElement); onReady(): void; onComplete(): void; onDisconnected(): void; play(): void; resetPlayDelayTimer(): void; get delay(): number; }