Skip to content

Commit 0cf3ef7

Browse files
committed
Update doc
1 parent f41cddf commit 0cf3ef7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
# Events
2727

28-
To make it easier to handle events, the component converts some codemirror built-in native events into a single vue component event, where you can listen for events from both the component itself and from codemirror. If you need to listen for more and more complex events, you can pass in the event names (Array) you need for the global `Vue.use(, { events: [] })` and the component parameters `:events`, respectively, or by the `this.codemirror.on(evennt, hanger)` method of the codemirror instance. Here's a list of events:
28+
To make it easier to handle events, the component converts some codemirror built-in native events into a single vue component event, where you can listen for events from both the component itself and from codemirror. If you need to listen for more and more complex events, you can pass in the event names (Array) you need for the global `Vue.use(, { events: [] })` and the component parameters `:events`, respectively, or by the `this.codemirror.on(event, hanger)` method of the codemirror instance. Here's a list of events:
2929

3030
**codemirror events list:**
3131
- scroll

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"publish": "git push && git push --tags && npm publish"
4545
},
4646
"dependencies": {
47-
"codemirror": "^5.39.0",
47+
"codemirror": "^5.40.0",
4848
"diff-match-patch": "^1.0.0"
4949
},
5050
"expDependencies": {

0 commit comments

Comments
 (0)