You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,6 @@ You can configure your authored `slideshow` component with these properties:
132
132
|`startStep`|`1`||
133
133
|`mouseNavigation`|`true`| Navigate with mouse click or scroll event |
134
134
|`keyboardNavigation`|`true`| Navigate with keyboard |
135
-
|`presenterModeKey`|`'p'`| set the key that activates presenter mode |
136
135
|`embedded`|`false`||
137
136
|`inserted`|`false`||
138
137
|`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
196
195
Starting from 0.5.0 we introduction extensions to eagle.js. It includes two categories, namely widgets and plugins:
197
196
1. Widgets are Vue components that can be directly used in a slide.
198
197
2. Plugins are used in slideshow to enhance slide globally.
198
+
199
199
Both widgets and plugins have the same interface to use, just like how Vue uses plugins, for example:
200
200
201
-
```
201
+
```javascript
202
202
// plugin
203
203
Eagle.use(Zoom, {scale:2})
204
204
// Widget
@@ -256,7 +256,7 @@ Eagle.use(Presenter, {
256
256
})
257
257
```
258
258
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:
260
260
261
261
```pug
262
262
.eg-slideshow
@@ -278,7 +278,7 @@ Eagle.use(Presenter, {
278
278
})
279
279
```
280
280
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.
0 commit comments