docs(DropdownItem): add closed event (#5266)

This commit is contained in:
neverland 2019-12-13 14:55:07 +08:00 committed by GitHub
parent f806403365
commit 70e2161e6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -101,7 +101,9 @@ export default createComponent({
} }
}} }}
> >
{active && <Icon class={bem('icon')} color={activeColor} name="success" />} {active && (
<Icon class={bem('icon')} color={activeColor} name="success" />
)}
</Cell> </Cell>
); );
}); });

View File

@ -137,8 +137,9 @@ Use `active-color` prop to custom active color of the title and options
|------|------|------| |------|------|------|
| change | Triggered select option and value changed | value | | change | Triggered select option and value changed | value |
| open | Triggered when open menu | - | | open | Triggered when open menu | - |
| opened | Triggered when opened menu | - | | opened | Triggered when menu opened | - |
| close | Triggered when close menu | - | | close | Triggered when close menu | - |
| closed | Triggered when menu closed | - |
### DropdownItem Slots ### DropdownItem Slots

View File

@ -143,6 +143,7 @@ export default {
| open | 打开菜单栏时触发 | - | | open | 打开菜单栏时触发 | - |
| opened | 打开菜单栏且动画结束后触发 | - | | opened | 打开菜单栏且动画结束后触发 | - |
| close | 关闭菜单栏时触发 | - | | close | 关闭菜单栏时触发 | - |
| opened | 关闭菜单栏且动画结束后触发 | - |
### DropdownItem Slots ### DropdownItem Slots