From 75b4512de3958827ac073aec29f5149c5d6d4c1e Mon Sep 17 00:00:00 2001 From: Dick van den Brink Date: Fri, 17 Jan 2014 09:17:22 +0100 Subject: [PATCH] Added flipswitch options --- jquerymobile/jquerymobile.d.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/jquerymobile/jquerymobile.d.ts b/jquerymobile/jquerymobile.d.ts index 56139b5ba..d81e43900 100644 --- a/jquerymobile/jquerymobile.d.ts +++ b/jquerymobile/jquerymobile.d.ts @@ -143,6 +143,18 @@ interface SliderEvents { slidestop?: JQueryMobileEvent; } +interface FlipswitchOptions { + corners?: boolean; + defaults?: boolean; + disabled?: boolean; + enhanced?: boolean; + mini?: boolean; + offText?: string; + onText?: string; + theme?: string; + wrapperClass?: string; +} + interface CheckboxRadioOptions { mini?: boolean; theme?: string; @@ -416,6 +428,7 @@ interface JQuery { flipswitch(): JQuery; flipswitch(command: string): JQuery; + flipswitch(options: FlipswitchOptions): JQuery; checkboxradio(): JQuery; checkboxradio(command: string): JQuery;