DefinitelyTyped/types/gifffer/index.d.ts
2018-02-13 13:14:42 -08:00

24 lines
695 B
TypeScript

// Type definitions for gifffer 1.5
// Project: https://github.com/krasimir/gifffer#readme
// Definitions by: William Lohan <https://github.com/gatimus>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare namespace Gifffer {
/**
* @see {@link https://github.com/krasimir/gifffer#styling|Styling}
*/
interface GiffferOptions {
playButtonStyles: { [style: string]: string; };
playButtonIconStyles: { [style: string]: string; };
}
}
/**
* @see {@link https://github.com/krasimir/gifffer#usage|Usage}
*/
declare function Gifffer(options?: Gifffer.GiffferOptions): HTMLButtonElement[];
export as namespace Gifffer;
export = Gifffer;