From 4dbf079c03c190c5b1fd3008d5c6e12e0bea3f64 Mon Sep 17 00:00:00 2001 From: Dick van den Brink Date: Fri, 6 Sep 2013 19:06:41 +0200 Subject: [PATCH 1/3] Added clearBtn options for textinput --- jquerymobile/jquerymobile.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jquerymobile/jquerymobile.d.ts b/jquerymobile/jquerymobile.d.ts index de51518d8e..c6dd567235 100644 --- a/jquerymobile/jquerymobile.d.ts +++ b/jquerymobile/jquerymobile.d.ts @@ -105,6 +105,8 @@ interface CollapsibleSetEvents { } interface TextInputOptions { + clearBtn?: boolean; + clearBtnText?: string; disabled?: boolean; initSelector?: string; mini?: boolean; From bae43aceef6b42e9b9449c13eecf259451efcfc5 Mon Sep 17 00:00:00 2001 From: Dick van den Brink Date: Fri, 6 Sep 2013 19:12:36 +0200 Subject: [PATCH 2/3] Missing dialog options. --- jquerymobile/jquerymobile.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jquerymobile/jquerymobile.d.ts b/jquerymobile/jquerymobile.d.ts index c6dd567235..cc897e3092 100644 --- a/jquerymobile/jquerymobile.d.ts +++ b/jquerymobile/jquerymobile.d.ts @@ -9,7 +9,9 @@ interface JQueryMobileEvent { (event: Event, ui): void; } interface DialogOptions { + closeBtn?: string; closeBtnText?: string; + corners?: boolean; initSelector?: string; overlayTheme?: string; } From 2108ebd40b2c202ce04e50b6dc67747330bcd526 Mon Sep 17 00:00:00 2001 From: Dick van den Brink Date: Fri, 6 Sep 2013 19:38:10 +0200 Subject: [PATCH 3/3] Update for button functions buttonMarkup options should be optional. added a button's method with only ButtonOptions as parameter. --- jquerymobile/jquerymobile.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jquerymobile/jquerymobile.d.ts b/jquerymobile/jquerymobile.d.ts index cc897e3092..a67bd1b425 100644 --- a/jquerymobile/jquerymobile.d.ts +++ b/jquerymobile/jquerymobile.d.ts @@ -347,8 +347,10 @@ interface JQuery { button(): JQuery; button(command: string): JQuery; - buttonMarkup(options: ButtonOptions): JQuery; + button(options?: ButtonOptions): JQuery; button(events: ButtonEvents): JQuery; + + buttonMarkup(options?: ButtonOptions): JQuery; collapsible(): JQuery; collapsible(command: string): JQuery;