diff --git a/bgiframe/typescript.bgiframe.d.ts b/bgiframe/typescript.bgiframe.d.ts new file mode 100644 index 000000000..b0b77cf07 --- /dev/null +++ b/bgiframe/typescript.bgiframe.d.ts @@ -0,0 +1,33 @@ +// Type definitions for typescript.bgiframe 1.0 +// Project: https://github.com/sumegizoltan/BgiFrame +// Definitions by: Zoltan Sumegi +// Definitions: https://github.com/borisyankov/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) + */ + +module BgiFrame { + interface ISettings { + top: string; + left: string; + width: string; + height: string; + opacity: bool; + src: string; + conditional: bool; + } + + interface IBgiframe { + s: ISettings; + createIframe(): HTMLElement; + fire(element: HTMLElement): void; + getIframe(element: HTMLElement): HTMLElement; + prop(n: any): string; + } +} \ No newline at end of file