Merge pull request #405 from sumegizoltan/master

Definition of bgiframe for IE6 - simple plugin implementation without jQuery.
This commit is contained in:
Diullei Gomes
2013-03-19 07:43:23 -07:00
+33
View File
@@ -0,0 +1,33 @@
// Type definitions for typescript.bgiframe 1.0
// Project: https://github.com/sumegizoltan/BgiFrame
// Definitions by: Zoltan Sumegi <https://github.com/sumegizoltan>
// 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;
}
}