Skip to content

Commit

Permalink
Add positionedToolbar to events documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nmielnik committed Apr 10, 2016
1 parent 47682c4 commit 711d891
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CUSTOM-EVENTS.md
Expand Up @@ -23,6 +23,7 @@ If you need to override the editor's bult-in behavior, try overriding the built-
- [Toolbar Custom Events](#toolbar-custom-events)
- [`hideToolbar`](#hidetoolbar)
- [`positionToolbar`](#positiontoolbar)
- [`positionedToolbar`](#positionedtoolbar)
- [`showToolbar`](#showtoolbar)
- [Proxied Custom Events](#proxied-custom-events)
- [`editableClick`](#editableclick)
Expand Down Expand Up @@ -152,6 +153,9 @@ These events are triggered by the toolbar when the toolbar extension has not bee
### `positionToolbar`
`positionToolbar` is triggered each time the current selection is checked and the toolbar's position is about to be updated. This event is triggered after all of the buttons have had their state updated, but before the toolbar is moved to the correct location. This event will be triggered even if nothing will be changed about the toolbar's appearance.

### `positionedToolbar`
`positionedToolbar` is triggered each time the current selection is checked, the toolbar is displayed, and the toolbar's position was updated. This differs from the `positionToolbar` event in that the visibility and location of the toolbar has already been changed (as opposed to before those changes happene). This event will be triggered even if nothing was changed about the toolbar's appearance.

### `showToolbar`
`showToolbar` is triggered whenever the toolbar was hidden and has just been displayed.

Expand Down

0 comments on commit 711d891

Please sign in to comment.