You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
< docs >
-- -
order : 8
title :
zh - CN : 右键菜单
en - US : Context Menu
-- -
# # zh - CN
默认是移入触发菜单 , 可以点击鼠标右键触发 。
# # en - US
The default trigger mode is ` hover ` , you can change it to ` contextMenu ` .
< / docs >
< template >
< a -dropdown :trigger ="['contextmenu']" >
< div
: style = "{
textAlign: 'center',
background: '#f7f7f7',
height: '200px',
lineHeight: '200px',
color: '#777',
}"
>
Right Click on here
< / div >
< template # overlay >
< a -menu >
< a -menu -item key = "1" > 1 st menu item < / a - m e n u - i t e m >
< a -menu -item key = "2" > 2 nd menu item < / a - m e n u - i t e m >
< a -menu -item key = "3" > 3 rd menu item < / a - m e n u - i t e m >
< / a - m e n u >
< / template >
< / a - d r o p d o w n >
< / template >