1 line
955 B
JSON
1 line
955 B
JSON
{"name":"event.metaKey","type":"property","title":"event.metaKey","deprecated":null,"removed":null,"desc":"Indicates whether the META key was pressed when the event fired.","categories":["events/event-object","version/1.0.4"],"entries":[{"return":"Boolean","signatures":{"added":"1.0.4"},"examples":{"desc":"Determine whether the META key was pressed when the event fired.","css":"\n body {\n background-color: #eef;\n }\n div {\n padding: 20px;\n }\n","html":"\n<button value=\"Test\" name=\"Test\" id=\"checkMetaKey\">Click me!</button>\n<div id=\"display\"></div>\n","code":"\n$( \"#checkMetaKey\" ).click(function( event ) {\n $( \"#display\" ).text( event.metaKey );\n});\n"},"longdesc":"\n <p>Returns a boolean value (<code>true</code> or <code>false</code>) that indicates whether or not the <kbd>META</kbd> key was pressed at the time the event fired.\n This key might map to an alternative key name on some platforms.</p>\n "}]} |