{"id":2701,"date":"2023-08-01T09:10:00","date_gmt":"2023-08-01T00:10:00","guid":{"rendered":"https:\/\/www.agile-software.site\/?p=2701"},"modified":"2023-08-01T09:10:00","modified_gmt":"2023-08-01T00:10:00","slug":"react-%e3%81%ae-onkeydown-%e3%82%a4%e3%83%99%e3%83%b3%e3%83%88","status":"publish","type":"post","link":"https:\/\/agile-software.net\/?p=2701","title":{"rendered":"React \u306e\u00a0onKeyDown\u00a0\u30a4\u30d9\u30f3\u30c8"},"content":{"rendered":"\n<p><code>onKeyDown<\/code>&nbsp;\u306f\u3001\u30c6\u30ad\u30b9\u30c8\u5165\u529b\u3092\u51e6\u7406\u3059\u308b\u6700\u3082\u4eba\u6c17\u306e\u3042\u308b\u30a4\u30d9\u30f3\u30c8\u306e 1\u3064\u3067\u3059\u3002\u3053\u306e\u30a4\u30d9\u30f3\u30c8\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u30c6\u30ad\u30b9\u30c8\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u9078\u629e\u3057\u3066\u3044\u308b\u3068\u304d\u306b\u30ad\u30fc\u3092\u62bc\u3059\u305f\u3073\u306b\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p><code>onKeyDown<\/code>\u00a0\u30a4\u30d9\u30f3\u30c8\u3068\u540c\u69d8\u306e\u00a0<code>onKeyPress<\/code>\u00a0\u30a4\u30d9\u30f3\u30c8\u306e\u4e3b\u306a\u9055\u3044\u306f\u3001\u305d\u308c\u3089\u304c\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u308b\u539f\u56e0\u3067\u3059\u3002<code>onKeyDown<\/code>\u00a0\u30a4\u30d9\u30f3\u30c8\u306f\u3001\u5024\u306e\u5165\u529b\u306b\u4f7f\u7528\u3055\u308c\u308b\u30ad\u30fc\uff08\u6570\u5b57\u3001A\u301cz \u6587\u5b57\uff09\u3068\u305d\u306e\u4ed6\u306e\u30ad\u30fc\uff08\u30b7\u30d5\u30c8\u306a\u3069\uff09\u3092\u533a\u5225\u3057\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p><code>onKeyPress<\/code>\u00a0\u306f\u3001\u6587\u5b57\u3001\u6570\u5b57\u3001\u307e\u305f\u306f\u8a18\u53f7\u3092\u751f\u6210\u3059\u308b\u30a4\u30d9\u30f3\u30c8\u306b\u5bfe\u3057\u3066\u306e\u307f\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>onKeyDown\u306f\u3001\u30c6\u30ad\u30b9\u30c8\u5165\u529b\u3092\u51e6\u7406\u3059\u308b\u6700\u3082\u4eba\u6c17\u306e\u3042\u308b\u30a4\u30d9\u30f3\u30c8\u306e 1\u3064\u3067\u3059\u3002\u3053\u306e\u30a4\u30d9\u30f3\u30c8\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u304c\u30c6\u30ad\u30b9\u30c8\u5165\u529b\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u9078\u629e\u3057\u3066\u3044\u308b\u3068\u304d\u306b\u30ad\u30fc\u3092\u62bc\u3059\u305f\u3073\u306b\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u307e\u3059\u3002 onKeyDown\u00a0\u30a4\u30d9<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jin_ogp_image_url":"","_jin_last_featured_id":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2701","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/2701","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2701"}],"version-history":[{"count":1,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/2701\/revisions"}],"predecessor-version":[{"id":2702,"href":"https:\/\/agile-software.net\/index.php?rest_route=\/wp\/v2\/posts\/2701\/revisions\/2702"}],"wp:attachment":[{"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/agile-software.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}