mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Merge pull request #7579 from mth0348/master
Added missing options to SliderOptions and DialogOptions
This commit is contained in:
@@ -1441,6 +1441,7 @@ function test_dialog() {
|
||||
$(".selector").dialog({ buttons: [ { text: "Ok", click: function () { $(this).dialog("close"); } } ] } );
|
||||
$(".selector").dialog({ closeOnEscape: false });
|
||||
$(".selector").dialog({ closeText: "hide" });
|
||||
$(".selector").dialog({ appendTo: "appendTo" });
|
||||
$(".selector").dialog({ dialogClass: "alert" });
|
||||
$(".selector").dialog({ disabled: true });
|
||||
$(".selector").dialog({ draggable: false });
|
||||
@@ -1490,7 +1491,8 @@ function test_slider() {
|
||||
value: 123,
|
||||
range: "min",
|
||||
animate: true,
|
||||
orientation: "vertical"
|
||||
orientation: "vertical",
|
||||
highlight: true
|
||||
});
|
||||
$("#slider-range").slider({
|
||||
range: true,
|
||||
|
||||
2
jqueryui/jqueryui.d.ts
vendored
2
jqueryui/jqueryui.d.ts
vendored
@@ -345,6 +345,7 @@ declare module JQueryUI {
|
||||
buttons?: { [buttonText: string]: (event?: Event) => void } | DialogButtonOptions[];
|
||||
closeOnEscape?: boolean;
|
||||
closeText?: string;
|
||||
appendTo?: string;
|
||||
dialogClass?: string;
|
||||
disabled?: boolean;
|
||||
draggable?: boolean;
|
||||
@@ -635,6 +636,7 @@ declare module JQueryUI {
|
||||
step?: number;
|
||||
value?: number;
|
||||
values?: number[];
|
||||
highlight?: boolean;
|
||||
}
|
||||
|
||||
interface SliderUIParams {
|
||||
|
||||
Reference in New Issue
Block a user