altKey property

bool get altKey

The KeyboardEvent.altKey read-only property is a boolean value that indicates if the alt key (Option or on macOS) was pressed (true) or not (false) when the event occurred.

Implementation

external bool get altKey;