Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: これは実験的な機能です。
本番で使用する前にブラウザー互換性一覧表をチェックしてください。
get() は KeyboardLayoutMap インターフェイスのメソッドで、指定されたキーの要素を返します。
有効なキーの一覧は UI Events KeyboardEvent code Values 仕様にあります。
マップから返す項目のキーです。
指定したキーの値です。
次の例は、英語の QWERTY キーボードの 'W' キーに対応する場所またはレイアウトに依存した文字列を取得する方法を示しています。
| ECMAScript® 2027 Language Specification # sec-map.prototype.get |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2023年12月4日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.