Fix overlay docs: correct events names (#1751)

This commit is contained in:
rtemision 2022-07-27 19:11:14 +07:00 committed by GitHub
parent 718ce0146a
commit eac75227ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = () => {