DefinitelyTyped/types/bgiframe/index.d.ts
2017-03-24 14:27:52 -07:00

34 lines
896 B
TypeScript

// Type definitions for bgiframe 1.0
// Project: https://github.com/sumegizoltan/BgiFrame
// Definitions by: Zoltan Sumegi <https://github.com/sumegizoltan>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/*! The plugin based on:
*
* bgiframe for IE6
* https://github.com/brandonaaron/bgiframe
*
* Copyrights for the jQuery plugin:
* Copyright (c) 2013 Brandon Aaron (http://brandonaaron.net)
*/
declare namespace BgiFrame {
interface ISettings {
top: string;
left: string;
width: string;
height: string;
opacity: boolean;
src: string;
conditional: boolean;
}
interface IBgiframe {
s: ISettings;
createIframe(): HTMLElement;
fire(element: HTMLElement): void;
getIframe(element: HTMLElement): HTMLElement;
prop(n: any): string;
}
}