sdk
sdk copied to clipboard
Deprecate KeyboardEvent.keyCode in dart:html
The KeyboardEvent.keyCode property is deprecated in favor of KeyboardEvent.code, which is supported by all browsers except IE.
dart:html still provides keyCode along with all the KeyCode values. We should mark keyCode and the KeyCode values as deprecated in dart:html so that users know to migrate to the recommended replacement.