keyDown

Deprecated

Legacy event type declaration. Use type constant instead!

Replace with

KeyboardEvent.KEY_DOWN