Skip to content

Commit

Permalink
(4.5.1 & HISTORY.md)
Browse files Browse the repository at this point in the history
  • Loading branch information
artpolikarpov committed Mar 29, 2014
1 parent 097e27e commit 063db40
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
32 changes: 32 additions & 0 deletions HISTORY.md
Expand Up @@ -2,6 +2,38 @@

> https://github.com/artpolikarpov/fotorama/releases
## 4.5.1, 29 March 2014

<!--4.5.1:name-->

Keep it ace

<!--/4.5.1:name-->

<!--4.5.1:notes-->

* Fix animations and visibility of arrows and captions.
* #181 Always visible arrows via `arrows:'always'`.
* #214 Fullscreen mode now using complete width and surpass the `maxwidth` limit.
* #218 Allow to hide captions via setOptions.
* Make `loop:true` and `clicktransition:'crossfade'` play well together.
* #219 Extended keyboard support.
* Fix some measures collisions.
* Optimize, test.

### Extended keyboard support
The old `data-keyboard="true"` enables keyboard navigation with the arrows. Extend it passing the object with keys you want to turn on:

```javascript
<div class="fotorama"
data-keyboard='{"space":true, "home":true, "end":true}'>
<img src="1.jpg">
<img src="2.jpg">
</div>
```

<!--/4.5.1:notes-->

## 4.5.0, 20 March 2014

<!--4.5.0:name-->
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "Fotorama",
"version": "4.5.0",
"version": "4.5.1",
"devDependencies": {
"grunt": "~0.4.4",
"grunt-contrib-cssmin": "~0.9.0",
Expand Down
2 changes: 1 addition & 1 deletion test/keyboard.html
Expand Up @@ -65,7 +65,7 @@
<!-- Fotorama -->
<div class="fotorama"
id="keyboard"
data-keyboard='{"left": false, "down": true, "space": true, "home": true}'
data-keyboard='{"space":true, "home":true, "end":true}'
data-loop="true"
data-width="700"
data-ratio="3/2"
Expand Down

0 comments on commit 063db40

Please sign in to comment.