feat(Popup): add before-close prop (#9067)
This commit is contained in:
@@ -136,6 +136,7 @@ export default {
|
||||
| closeable | Whether to show close icon | _boolean_ | `false` |
|
||||
| close-icon | Close icon name | _string_ | `cross` |
|
||||
| close-icon-position | Close Icon Position,can be set to `top-left` `bottom-left` `bottom-right` | _string_ | `top-right` |
|
||||
| before-close `v3.1.4` | Callback function before close | _(action: string) => boolean \| Promise\<boolean\>_ | - |
|
||||
| icon-prefix `v3.0.18` | Icon className prefix | _string_ | `van-icon` |
|
||||
| transition | Transition, equivalent to `name` prop of [transition](https://v3.vuejs.org/api/built-in-components.html#transition) | _string_ | - |
|
||||
| transition-appear | Whether to apply transition on initial render | _boolean_ | `false` |
|
||||
|
||||
Reference in New Issue
Block a user