rdogmartin
36797eab8f
Added test
2016-01-08 08:42:09 -07:00
rdogmartin
d12cb4f80a
Add item property to MenuUIParams in JQueryUI
...
The ui parameter that is returned to the caller in jQueryUI menu events (e.g. select) has an optional property named item, but it was not included in this type file.
2016-01-07 09:43:34 -07:00
rdogmartin
fe1d50cbd3
Make MenuOptions extend MenuEvents
...
The menu widget definition does not allow a MenuEvents object to be passed to it during initialization. For example, this gives an error from TypeScript:
$el.menu({select: (e, ui) => { }});
I modified the MenuOptions definition to extend MenuEvents and removed MenuEvents from the Menu interface definition. This makes it consistent with how the other widgets are defined and allows both options and events to be defined when creating a menu widget.
2016-01-07 08:55:23 -07:00
Jesús García Sojo
f9d7228387
Fix position type, string to any, in jQueryui autocompleteOptions
...
https://api.jqueryui.com/autocomplete/#option-position
2015-12-11 09:12:43 +01:00
paul cheung
4e8bcf2667
add open event for dialog(as build failed in TypeScript 1.7)
2015-12-09 00:25:53 +08:00
Amelie Maucade
9eeee9d640
add option create to ResizableEvents interface
2015-11-23 10:52:48 +01:00
MizardX
a5fabe45ec
Correct the interface for the Dialog buttons.
...
Only the "icons" and "showText" (as "text") options are forwarded to
.button(), the rest are passed as a parameter to the element
constructor: http://api.jquery.com/jQuery/#jQuery-html-attributes
2015-09-17 20:45:51 +02:00
MizardX
6999e694e7
Include events in Accordion, Progressbar and Tooltip options.
...
Except for Accordion, Progressbar and Tooltip, all other widgets in this
file follow this pattern.
2015-09-17 20:44:54 +02:00
error
d03f6e213f
add test for dialog using array of ButtonOptions
2015-09-11 13:28:58 -05:00
error
72e519f0ab
set ButtonOptions.text to type string|boolean
2015-09-11 13:25:58 -05:00
error
337a1387f0
change ButtonOptions text property to string
2015-09-03 13:01:22 -05:00
error
3cdf49b241
add buttons property to ButtonOptions
2015-09-03 13:00:53 -05:00
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