Experimental: this API is experimental and might be changed or removed in the future.

KeyboardEventBase<T0>.altKey

切换到手册
public bool altKey ;

描述

如果按下了 Alt 键,则返回 true。