KeyboardEvent: keyIdentifier property

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{APIRef("UI Events")}}{{non-standard_header}}

The deprecated **KeyboardEvent.keyIdentifier** read-only property returns a "key identifier" string that can be used to determine what key was pressed. Its non-deprecated replacement is {{domxref("KeyboardEvent.key")}}.

Specifications

_Not part of any current specification._ This property was part of an old draft of the DOM Level 3 Events Specification, but it was removed in later drafts in favor of {{domxref("KeyboardEvent.key")}}.

Browser compatibility

{{Compat}}