mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 11:41:44 +00:00
Add autohide and enddate in jqueryui.d.ts (#13330)
Added autohide and enddate in Datepickeroptions interface
This commit is contained in:
committed by
Mohamed Hegazy
parent
0a8e31370e
commit
ead8376ca8
Vendored
+25
@@ -320,6 +320,14 @@ declare namespace JQueryUI {
|
||||
* Additional text to display after the year in the month headers.
|
||||
*/
|
||||
yearSuffix?: string;
|
||||
/**
|
||||
* Set to true to automatically hide the datepicker.
|
||||
*/
|
||||
autohide?: boolean;
|
||||
/**
|
||||
* Set to date to automatically enddate the datepicker.
|
||||
*/
|
||||
endDate?: Date;
|
||||
}
|
||||
|
||||
interface DatepickerFormatDateOptions {
|
||||
@@ -1341,6 +1349,23 @@ interface JQuery {
|
||||
* @param optionName 'buttonText'
|
||||
*/
|
||||
datepicker(methodName: 'option', optionName: 'buttonText'): string;
|
||||
|
||||
/**
|
||||
* Get the autohide option, after initialization
|
||||
*
|
||||
* @param methodName 'option'
|
||||
* @param optionName 'autohide'
|
||||
*/
|
||||
datepicker(methodName: 'option', optionName: 'autohide'): boolean;
|
||||
|
||||
|
||||
/**
|
||||
* Get the endDate after initialization
|
||||
*
|
||||
* @param methodName 'option'
|
||||
* @param optionName 'endDate'
|
||||
*/
|
||||
datepicker(methodName: 'option', optionName: 'endDate'): Date;
|
||||
/**
|
||||
* Set the buttonText option, after initialization
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user