ant-design/components/dropdown/demo/context-menu.md

22 lines
373 B
Markdown
Raw Normal View History

2017-11-26 14:02:00 +08:00
## zh-CN
2018-09-07 14:03:17 +08:00
默认是移入触发菜单,可以点击鼠标右键触发。
2017-11-26 14:02:00 +08:00
## en-US
2018-09-07 14:03:17 +08:00
The default trigger mode is `hover`, you can change it to `contextMenu`.
2017-11-26 14:02:00 +08:00
2019-12-26 14:48:29 +08:00
```css
.site-dropdown-context-menu {
color: #777;
background: #f7f7f7;
2019-12-26 14:48:29 +08:00
}
```
<style>
[data-theme="dark"] .site-dropdown-context-menu {
background: #141414;
color: rgba(255,255,255,.65);
}
</style>