type

abstract external var type: String(source)

Either keyUp or keyDown.