forked from nhn/tui.date-picker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jung-han
committed
Feb 8, 2019
1 parent
cbd9e83
commit b3ca001
Showing
5 changed files
with
166 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/*! | ||
* tui-date-picker.min.js | ||
* @version 3.2.1 | ||
* @version 3.3.0 | ||
* @author NHNEnt FE Development Lab <[email protected]> | ||
* @license MIT | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/*! | ||
* tui-date-picker.js | ||
* @version 3.2.1 | ||
* @version 3.3.0 | ||
* @author NHNEnt FE Development Lab <[email protected]> | ||
* @license MIT | ||
*/ | ||
|
@@ -920,6 +920,16 @@ return /******/ (function(modules) { // webpackBootstrap | |
this._refreshFromRanges(); | ||
}, | ||
|
||
/** | ||
* Set calendar type | ||
* @param {string} type - set type | ||
* @example | ||
* datepicker.setType('month'); | ||
*/ | ||
setType: function(type) { | ||
this._type = type; | ||
}, | ||
|
||
/** | ||
* Add a range | ||
* @param {Date|number} start - startDate | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.