KeyboardEvent constructor

init

Initializes a new instance of the KeyboardEvent class.

def __init__(self, type):
    ...
ParameterTypeDescription
typestrThe event type.

See Also