Merge pull request #7579 from mth0348/master

Added missing options to SliderOptions and DialogOptions
This commit is contained in:
John Reilly
2016-01-12 13:30:58 +00:00
2 changed files with 5 additions and 1 deletions

View File

@@ -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,

View File

@@ -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 {