Skip to content

Commit

Permalink
Update Changelog & Demo Page
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyzev committed Jun 29, 2016
1 parent ea3cacf commit 06a6018
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
23 changes: 23 additions & 0 deletions changelog.md
Expand Up @@ -2,6 +2,29 @@

## In Development

* #### From Pull Request: [#161](https://github.com/ChiperSoft/Kalendae/pull/161)

* **Element Structure**:
* The title is split into 2 divs for month and year so that they can be styled separately if needed. (Only breaking if your css selected `span.k-caption` instead of just `.k-caption`).

* **New Options**
* `endDate` - defines the last day and month which will be selectable. Prevents navigating past in months/years.
* `titleFormat` is replaced by the two below to accomodate the new title div structure:
* `titleMonthFormat`
* `titleYearFormat`

* **New Methods**
* `removeAllSelected()` - Added to clear all selected values at once if mode is anything other than `'single'`.

* **New Events**
* `draw-end`- Added to enable view changes that depend on new data. Such as jQuery or other DOM maniuplations.

* **Examples**
* Added examples for: `endDate`,

* **Misc.**
* Experimental: Specifying options for `disableNextMonth` & `disableNextYear` may actually work

## 0.6.1

* \#84 Added `k-range-start` and `k-range-end` css classes to the first and last selected days in a range calender.
Expand Down
10 changes: 10 additions & 0 deletions index.html
Expand Up @@ -167,6 +167,16 @@ <h1>Kalendae</h1>

</script>

<hr>
<p>End Date - Direction: future - Single Select</p>
<script type="text/javascript">
new Kalendae(document.body, {
months: 3,
direction: 'future',
endDate: Kalendae.moment().startOf('month').add(75, 'days')
});
</script>



<hr>
Expand Down

0 comments on commit 06a6018

Please sign in to comment.