altkey
鼠标事件属性用于显示单击鼠标按钮时是否按下了 SHIFT 键。
示例
您可以尝试运行以下代码来了解如何在 JavaScript 中实现
altKey
鼠标事件。
Press and hold ALT key and then click here.
