From de5c456ebded0e038adbf23db34cc290c8829180 Mon Sep 17 00:00:00 2001 From: Florian Merz Date: Thu, 11 Feb 2021 14:49:24 +0100 Subject: unslug pl: move --- files/pl/web/api/mouseevent/shiftkey/index.html | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 files/pl/web/api/mouseevent/shiftkey/index.html (limited to 'files/pl/web/api/mouseevent/shiftkey') diff --git a/files/pl/web/api/mouseevent/shiftkey/index.html b/files/pl/web/api/mouseevent/shiftkey/index.html new file mode 100644 index 0000000000..ee3c1cb72c --- /dev/null +++ b/files/pl/web/api/mouseevent/shiftkey/index.html @@ -0,0 +1,27 @@ +--- +title: event.shiftKey +slug: Web/API/Event/shiftKey +tags: + - DOM + - Wszystkie_kategorie +translation_of: Web/API/MouseEvent/shiftKey +translation_of_original: Web/API/event.shiftKey +--- +

{{ ApiRef() }}

+

Podsumowanie

+

Wskazuje, czy klawisz <shift> był wciśnięty przy wywołaniu zdarzenia.

+

Składnia

+
bool = event.shiftKey
+
+

Przykład

+
 function goInput(e) {
+ // sprawdza shiftKey
+   if e.shiftKey
+       // i przekazuje zdarzenie dalej
+     superSizeOutput(e);
+   else
+     doOutput(e)
+
+

Specyfikacja

+

shiftKey

+

{{ languages( { "en": "en/DOM/event.shiftKey" } ) }}

-- cgit v1.2.3-54-g00ecf