Skip to content

Commit

Permalink
chore(docs): Correct two typos
Browse files Browse the repository at this point in the history
Merge pull request #55 from drichar/patch-1
  • Loading branch information
jackpope committed Jan 10, 2020
2 parents ed67345 + 3b1eb96 commit 240b40d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ If you'd like to drive the plugin or render plugin data through external UI elem
Before triggering any events on the plugin, you must wait for it to be ready. You can use the `onReady` function on the plugin:

```javascript
plugin.registerListenerReady(() => {
plugin.onReady(() => {
// do stuff with the plugin, such as fire events or setup listeners
});
```
Expand Down Expand Up @@ -159,7 +159,7 @@ plugin.fire('addingAnnotation');
// cancelAddingAnnotation : Plugin exits the adding annotation state
plugin.fire('cancelAddingAnnotation');
// toggleAnnotationMode : toggle annotation mode to alternative on/off value
plugin.fire('toggleAnnotations');
plugin.fire('toggleAnnotationMode');
```

#### Supported Internally Fired Events:
Expand Down

0 comments on commit 240b40d

Please sign in to comment.