Commit Graph

71 Commits

Author SHA1 Message Date
slozier
e12cbe7d2c Update type of DialogOptions.buttons
Add event argument to DialogOptions.buttons callback.
2015-08-24 13:59:06 -04:00
Daniel Rosenwasser
85674ef1dd Added missing type argument. 2015-08-17 15:54:47 -07:00
Daniel Rosenwasser
b51f8765a3 Made tests pass for 'jqueryui'. 2015-08-17 15:04:54 -07:00
Daniel Rosenwasser
379748b491 Remove test for undocumented '_renderItem' function in 'jqueryui'. 2015-08-17 14:48:00 -07:00
Daniel Rosenwasser
a3f73092d3 fixed errors in tests. 2015-08-17 14:43:51 -07:00
Daniel Rosenwasser
ceb059b2ab Removed union types from definition files. 2015-08-17 14:06:50 -07:00
Daniel Rosenwasser
a19db768d1 Things should be functions in tests for 'jqueryui'. 2015-08-12 15:52:46 -07:00
Daniel Rosenwasser
29e90320fb 'start' should be a function in tests for 'jqueryui'. 2015-08-12 15:52:00 -07:00
Daniel Rosenwasser
a9d5865d79 'offset' isn't a property for 'position' in 'jqueryui'. 2015-08-12 15:39:37 -07:00
Daniel Rosenwasser
cb265e50c5 extend options with events in 'jqueryui'. 2015-08-12 15:29:54 -07:00
Daniel Rosenwasser
5e48f1bdb2 Made options extend events, added 'change' and 'create' in for spinner events, in 'jqueryui'. 2015-08-12 15:28:34 -07:00
Daniel Rosenwasser
bb830c2a2d Fix 'show' and 'hide' properties in dialog, fix union type, in 'jqueryui'. 2015-08-12 12:34:19 -07:00
Daniel Rosenwasser
2ffed1fde1 Made dialog options extend events type, test should have had button callbacks within 'buttons' in 'jqueryui'. 2015-08-12 12:34:01 -07:00
Daniel Rosenwasser
8d1b81107c Make autocomplete options extend events in 'jqueryui'. 2015-08-11 17:26:06 -07:00
Daniel Rosenwasser
9d15a87ca0 Make options for resizable extend events in 'jqueryui'. 2015-08-11 17:24:45 -07:00
Daniel Rosenwasser
98f5ec12f0 Added 'sortable' overload for 'serialize' method in 'jqueryui'. 2015-08-11 17:22:40 -07:00
Daniel Rosenwasser
612ad67a79 Add 'helper' for 'Sortable' in 'jqueryui'. 2015-08-11 17:14:02 -07:00
Daniel Rosenwasser
26e110353d Make options interfaces extend events interfaces in 'jqueryui'. 2015-08-11 17:10:26 -07:00
vvakame
31218c8035 Merge branch 'master' into tsc-1.5.0-alpha 2015-07-18 20:06:04 +09:00
Vlad Kuimov
84ef6b1548 Update jqueryui.d.ts 2015-07-06 15:42:57 +03:00
vvakame
b79d800626 fix jqueryui/jqueryui-tests.ts compile error 2015-04-15 23:35:12 +09:00
Mohamed Hegazy
2aaa293cb1 Remove quotes from response files 2014-09-02 14:53:39 -07:00
Douglas Eichelberger
a5c374e96a Fix JQueryUI Slider definitions 2014-07-15 17:11:03 -07:00
John Reilly
4d233b7151 jQueryUI: Tidy up and up to gotoCurrent 2014-04-25 09:57:57 +01:00
John Reilly
79a48d8772 jQueryUI: now the d's 2014-04-24 15:47:53 +01:00
John Reilly
f1d0dcabb7 jQueryUI: Finished the c's 2014-04-23 17:08:19 +01:00
John Reilly
b03204e6f0 jQuery UI: changeMonth and changeYear JSDoc 2014-04-23 09:50:10 +01:00
John Reilly
90a326d1fd jQuery UI: Mucho interface JSDoc 2014-04-17 16:30:03 +01:00
John Reilly
09733f152e jQuery UI: continuing getters / setters 2014-04-17 10:10:17 +01:00
John Reilly
3458bc6328 jQuery UI: button option getters / setters 2014-04-16 17:25:58 +01:00
John Reilly
beb5e1df56 jQuery UI: continued on option getters / setters 2014-04-16 17:06:57 +01:00
John Reilly
042c9c7346 jQuery UI: started on option getters / setters 2014-04-16 16:20:59 +01:00
John Reilly
9480db2645 jQueryUI: started adding option overloads 2014-04-16 13:59:31 +01:00
John Reilly
739e9fd044 jQueryUI: started tidying datepicker
Refactored jQuery UI datepicker overloads and added JSDoc. Options still
to do - will follow in a later commit I hope.  Removed unused
optionLiteral datepicker overloads (undocumented).  Made the following
change to the underlying methodName overload to allow other overloads to
"chain" into it.

```
datepicker(methodName: string, ...otherParams: any[]): any;
```

Moved datepicker tests to single function.  Added tests for  datepicker
methods.

Very much just first steps.  A lot to do in jQuery UI I think...
2014-04-16 11:58:02 +01:00
enternet
5639237400 interface SortableOptions extends SortableEvents
If we look into jqueryUI internals we will see that all the config values stored in one object. Both Options and Events. For example we can call UI.sortable({opacity: value1, start: fn1, stop: fn2})
2014-04-08 14:19:58 +03:00
slozier
e0dd3ed06d Update jqueryui.d.ts 2014-03-05 19:26:32 -05:00
scottmcarthur
1cbc6388ea Resolves KeyCode - Type reference cannot refer to a property
The interface of the property `$.ui.keyCode` uses a non-standard name `keyCode` which clashes with the property name, giving error `Type reference cannot refer to a property`. 

Changing the interface name from `keyCode` to `KeyCode` follows the interface naming convention and resolves this issue.
2014-02-13 09:47:35 +00:00
John Reilly
9efa6268fc jQuery UI: added some missing API parts 2014-01-10 11:03:22 +00:00
Tom von Clef
388c226ab5 Changed the iso8601Week function of the Datepicker interface to return type 'number', not type 'void'. See: http://api.jqueryui.com/datepicker/ 2013-12-18 15:07:59 -05:00
Neil Stalker
d2c9aac1de Fixes for TS0.9.5 2013-12-06 22:36:06 +00:00
Natan Vivo
f9b6bfd6fe Fix too restrictive sortable options.
From jquery docs: "If Selector is specified as the type of an argument, it accepts everything that the jQuery constructor accepts, eg. Strings, Elements, Lists of Elements."
http://api.jquery.com/Types/#Selector
2013-12-03 14:12:42 -02:00
John Reilly
2b08be22cf jQueryUI: correct return type of dialog methods
Also corrected / added a couple of tests
2013-11-26 09:31:19 +00:00
Masahiro Wakame
1b28c3344b Removed not required .tscparams 2013-11-19 13:56:28 +09:00
John Reilly
0542b75803 jQuery UI / Modernizr: remove implicit anys 2013-11-06 15:47:24 +00:00
vvakame
2708bc05cd Fixed tsc failed on Node.js v0.8.25 2013-10-03 11:23:38 +09:00
vvakame
3fe1f6bc4e Fixed to CI test passing 2013-10-03 10:18:58 +09:00
Diullei
449bfdda31 #251 - 'SortableEvent' must use 'JQueryEventObject' instead 'Event' 2013-09-08 00:47:38 -03:00
lucapierobon
0e3e659961 Added non-specialized signature for slider(methodName, values) to avoid compiler error TS2154
Compiling with TS 0.9.1.1 the compiler stopped with "error TS2154: Specialized overload signature is not subtype of any non-specialized signature."
As a matter of fact the non-specialized signature for the slider(methodName, values) overload was missing.
Adding it everything was fine.
2013-09-04 12:47:00 +02:00
gstamac
ec369d1b74 jQueryUI: fixed empty string interpreted as null 2013-08-23 21:04:18 +02:00
Boris Yankov
410f730af1 Fix jquery.ui definitions 2013-08-07 19:07:10 +03:00