[Pas2js] TJSKeyboardEvent

Michael Van Canneyt michael at freepascal.org
Sun Jun 16 16:25:07 CEST 2024



On Sun, 16 Jun 2024, Peter Kainz via Pas2js wrote:

> Hi guys,
>
> i have a question about TJSKeyboardEvent,
> why is
> FkeyCode: NativeInt; external name 'keyCode';
> and
> property keyCode : NativeInt read FkeyCode;
> commented out?

Because they are deprecated:

https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode

Michael.


More information about the Pas2js mailing list