Skip to content

Commit 5298a72

Browse files
committed
release: v0.5.0
1 parent 7893e1f commit 5298a72

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ You can configure your authored `slideshow` component with these properties:
132132
| `startStep` | `1` | |
133133
| `mouseNavigation` | `true` | Navigate with mouse click or scroll event |
134134
| `keyboardNavigation` | `true` | Navigate with keyboard |
135-
| `presenterModeKey` | `'p'` | set the key that activates presenter mode |
136135
| `embedded` | `false` | |
137136
| `inserted` | `false` | |
138137
| `onStartExit` | `null` | event callback for exiting slideshow through first slide |
@@ -196,9 +195,10 @@ Under the hood, `eg-transition` is just vue's `transition` that supports [anima
196195
Starting from 0.5.0 we introduction extensions to eagle.js. It includes two categories, namely widgets and plugins:
197196
1. Widgets are Vue components that can be directly used in a slide.
198197
2. Plugins are used in slideshow to enhance slide globally.
198+
199199
Both widgets and plugins have the same interface to use, just like how Vue uses plugins, for example:
200200

201-
```
201+
```javascript
202202
// plugin
203203
Eagle.use(Zoom, {scale: 2})
204204
// Widget
@@ -256,7 +256,7 @@ Eagle.use(Presenter, {
256256
})
257257
```
258258

259-
By default pressing "p" would toggle presenter mode: you have two windows that share control with each other. Enabling presenter mode gives user two addition `data` for `slideshow`: `parentWindow` and `childWindow`. For example:
259+
Press your configured button would toggle presenter mode: you have two windows that share control with each other. Enabling presenter mode gives user two addition `data` for `slideshow`: `parentWindow` and `childWindow`. For example:
260260

261261
```pug
262262
.eg-slideshow
@@ -278,7 +278,7 @@ Eagle.use(Presenter, {
278278
})
279279
```
280280

281-
Holding command key (or alt key on Windows) + click would zoom in and out.
281+
`Cmd`+Click (`Alt`+click on non-Mac) would zoom in and out.
282282

283283
## Themes
284284

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eagle.js",
3-
"version": "0.4.4",
3+
"version": "0.5.0",
44
"description": "Slideshow framework for Vue.js",
55
"main": "dist/eagle.cjs.js",
66
"module": "dist/eagle.es.js",

0 commit comments

Comments
 (0)