From 784ea19d75bf433483ec98c4b5477eb82f0d456b Mon Sep 17 00:00:00 2001 From: Rob Angelier Date: Fri, 1 Mar 2013 10:36:58 +0100 Subject: [PATCH] Update foundation.d.ts Updated the reveal options for Foundation Zurb 4 --- foundation/foundation.d.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/foundation/foundation.d.ts b/foundation/foundation.d.ts index e36d48952d..fba9752ddd 100644 --- a/foundation/foundation.d.ts +++ b/foundation/foundation.d.ts @@ -31,10 +31,33 @@ interface RevealOptions { animationSpeed?: number; closeOnBackgroundClick?: bool; dismissModalClass?: string; + /** + * The class of the modals background. + */ + bgClass?: string; open?: () => void; opened?: () => void; close?: () => void; closed?: () => void; + /** + * The modals background object. + */ + bg: JQuery; + /** + * The css property for when the modal is opened and closed. + */ + css: { + open: { + opacity?: number; + visibility?: string; + display: string; + }; + close: { + opacity: number; + visibility: string; + display: string; + }; + }; } interface JoyrideOptions {