Skip to main content
A newer version of this page is available. .

ASPxClientUtils.GetKeyCode(htmlEvent) Method

Gets the keyboard code for the specified event.

Declaration

static GetKeyCode(
    htmlEvent: any
): number

Parameters

Name Type Description
htmlEvent any

An object specifying the required HTML event.

Returns

Type Description
number

An integer value representing the keyboard code of the specified event.

See Also