Fix overlay docs: correct events names (#1751)
This commit is contained in:
parent
718ce0146a
commit
eac75227ad
1 changed files with 1 additions and 1 deletions
|
|
@ -420,7 +420,7 @@ export const openedState = () => {
|
||||||
## Intercepting open/close
|
## Intercepting open/close
|
||||||
|
|
||||||
It is possible to intercept the open/close process by calling `.preventDefault()` on
|
It is possible to intercept the open/close process by calling `.preventDefault()` on
|
||||||
the `before-close` or `before-open` events.
|
the `before-closed` or `before-opened` events.
|
||||||
|
|
||||||
```js preview-story
|
```js preview-story
|
||||||
export const interceptingOpenClose = () => {
|
export const interceptingOpenClose = () => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue