mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
+3
-2
@@ -1,4 +1,4 @@
|
||||
# Contributors
|
||||
# Contributors
|
||||
|
||||
This is a non-exhaustive list of definitions and their creators. If you created a definition but are not listed then feel free to send a pull request on this file with your name and url.
|
||||
|
||||
@@ -175,6 +175,7 @@ All definitions files include a header with the author and editors, so at some p
|
||||
* [jQuery.jNotify](http://jnotify.codeplex.com) (by [James Curran](https://github.com/jamescurran/))
|
||||
* [jQuery.joyride](http://zurb.com/playground/jquery-joyride-feature-tour-plugin) (by [Vincent Bortone](https://github.com/vbortone))
|
||||
* [jQuery.jSignature](https://github.com/willowsystems/jSignature) (by [Patrick Magee](https://github.com/pjmagee))
|
||||
* [jQuery.leanModal](http://leanmodal.finelysliced.com.au/)(by [tomato360](https://github.com/tomato360))
|
||||
* [jQuery.notifyBar](http://www.whoop.ee/posts/2013-04-05-the-resurrection-of-jquery-notify-bar/) (by [Shunsuke Ohtani](https://github.com/zaneli))
|
||||
* [jQuery.noty](http://needim.github.io/noty/) (by [Aaron King](https://github.com/kingdango/))
|
||||
* [jQuery.payment](http://needim.github.io/noty/) (by [Eric J. Smith](https://github.com/ejsmith/))
|
||||
@@ -244,7 +245,7 @@ All definitions files include a header with the author and editors, so at some p
|
||||
* [Marked](https://github.com/chjj/marked) (by [William Orr](https://github.com/worr))
|
||||
* [MathJax](https://github.com/mathjax/MathJax) (by [Roland Zwaga](https://github.com/rolandzwaga))
|
||||
* [mCustomScrollbar](https://github.com/malihu/malihu-custom-scrollbar-plugin) (by [Sarah Williams](https://github.com/flurg))
|
||||
* [Meteor](https://www.meteor.com) (by [Dave Allen](https://github.com/fullflavedave))
|
||||
* [Meteor](https://www.meteor.com) (by [Dave Allen](https://github.com/fullflavedave))
|
||||
* [md5.js](http://labs.cybozu.co.jp/blog/mitsunari/2007/07/md5js_1.html) (by [MIZUNE Pine](https://github.com/pine613))
|
||||
* [Microsoft Ajax](http://msdn.microsoft.com/en-us/library/ee341002(v=vs.100).aspx) (by [Patrick Magee](https://github.com/pjmagee))
|
||||
* [Microsoft Live Connect](http://msdn.microsoft.com/en-us/library/live/hh243643.aspx) (by [John Vilk](https://github.com/jvilk))
|
||||
|
||||
Executable
+18
@@ -0,0 +1,18 @@
|
||||
/// <reference path="../jquery/jquery.d.ts" />
|
||||
/// <reference path="jquery.leanModal.d.ts" />
|
||||
|
||||
class LeanModalOptions implements JQueryLeanModalOption {
|
||||
top : number;
|
||||
overlay : number;
|
||||
closeButton: string;
|
||||
}
|
||||
|
||||
$.leanModal();
|
||||
|
||||
var leanModalOptions = new LeanModalOptions;
|
||||
|
||||
leanModalOptions.top = 200;
|
||||
leanModalOptions.overlay = 0.5;
|
||||
leanModalOptions.closeButton = ".close_button";
|
||||
|
||||
$.leanModal(leanModalOptions);
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
// Type definitions for leanModal.js 1.1
|
||||
// Project: http://leanmodal.finelysliced.com.au/
|
||||
// Definitions by: FinelySliced <https://github.com/FinelySliced>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
///<reference path="../jquery/jquery.d.ts" />
|
||||
|
||||
interface JQueryLeanModalOption {
|
||||
top? : number;
|
||||
overlay? : number;
|
||||
closeButton? : String;
|
||||
}
|
||||
|
||||
interface JQueryStatic {
|
||||
leanModal(): JQuery;
|
||||
leanModal(val : JQueryLeanModalOption): JQuery;
|
||||
}
|
||||
|
||||
interface JQuery {
|
||||
leanModal(): JQuery;
|
||||
leanModal(val : JQueryLeanModalOption): JQuery;
|
||||
}
|
||||
Reference in New Issue
Block a user