mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Account for callbacks in 'fancybox'.
This commit is contained in:
Vendored
+11
-11
@@ -6,7 +6,7 @@
|
||||
|
||||
/// <reference path="../jquery/jquery.d.ts" />
|
||||
|
||||
interface FancyboxOptions {
|
||||
interface FancyboxOptions extends FancyboxCallback {
|
||||
padding?: any; // number or []
|
||||
margin?: any; // number or []
|
||||
width?: any; // number or []
|
||||
@@ -96,16 +96,16 @@ interface FancyboxMethods {
|
||||
}
|
||||
|
||||
interface FancyboxCallback {
|
||||
onCancel;
|
||||
beforeLoad;
|
||||
afterLoad;
|
||||
beforeShow;
|
||||
afterShow;
|
||||
beforeClose;
|
||||
afterClose;
|
||||
onUpdate;
|
||||
onPlayStart;
|
||||
onPlayEnd;
|
||||
onCancel?: Function;
|
||||
beforeLoad?: Function;
|
||||
afterLoad?: Function;
|
||||
beforeShow?: Function;
|
||||
afterShow?: Function;
|
||||
beforeClose?: Function;
|
||||
afterClose?: Function;
|
||||
onUpdate?: Function;
|
||||
onPlayStart?: Function;
|
||||
onPlayEnd?: Function;
|
||||
}
|
||||
|
||||
interface FancyboxThumbnailHelperOptions {
|
||||
|
||||
Reference in New Issue
Block a user