mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-06 16:20:26 +08:00
Added missing properties for 'jquery.timepicker'.
This commit is contained in:
+22
@@ -22,6 +22,17 @@ interface TimePickerOptions {
|
||||
|
||||
/**␍ * 'button' element that will trigger the timepicker.␍ *␍ * "button" for trigger button, or "both" for either (not yet implemented).␍ */␍ button?: string;
|
||||
|
||||
// Localization
|
||||
|
||||
/** Define the locale text for "Hours" */
|
||||
hourText?: string;
|
||||
|
||||
/** Define the locale text for "Minute" */
|
||||
minuteText?: string;
|
||||
|
||||
/** Define the locale text for periods. */
|
||||
amPmText?: [string, string];
|
||||
|
||||
/** Name of jQuery animation for popup */␍ showAnim?: string;
|
||||
/** Options for enhanced animations */␍ showOptions?: any;
|
||||
/** Display text following the input box, e.g. showing the format */␍ appendText?: string;
|
||||
@@ -56,8 +67,19 @@ interface TimePickerOptions {
|
||||
|
||||
// buttons
|
||||
/** shows an OK button to confirm the edit */␍ showCloseButton?: boolean;
|
||||
|
||||
/** Text for the confirmation button (ok button).*/
|
||||
closeButtonText?: string;
|
||||
|
||||
/** Shows the 'now' button */␍ showNowButton?: boolean;
|
||||
|
||||
/** Text for the 'now' button.*/
|
||||
nowButtonText?: string;
|
||||
|
||||
/** Shows the deselect time button */␍ showDeselectButton?: boolean;
|
||||
|
||||
/** Text for the deselect button */
|
||||
deselectButtonText?: string;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user