Merge pull request #10479 from Sayan751/master

Added missing function config() to Pikaday class
This commit is contained in:
Nathan Shively-Sanders
2016-08-10 10:36:28 -07:00
committed by GitHub
+8
View File
@@ -10,6 +10,14 @@ declare class Pikaday {
constructor(options: Pikaday.PikadayOptions);
/**
* Extends the existing configuration options for Pikaday object with the options provided.
* Can be used to change/extend the configurations on runtime.
* @param options full/partial configuration options.
* @returns {} extended configurations.
*/
config(options: Pikaday.PikadayOptions): Pikaday.PikadayOptions;
/**
* Returns the selected date in a string format. If Moment.js exists
* (recommended) then Pikaday can return any format that Moment