aboutsummaryrefslogtreecommitdiff
path: root/files/pl/web/api/uievent/ischar/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/pl/web/api/uievent/ischar/index.html')
-rw-r--r--files/pl/web/api/uievent/ischar/index.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/files/pl/web/api/uievent/ischar/index.html b/files/pl/web/api/uievent/ischar/index.html
new file mode 100644
index 0000000000..393402ed7c
--- /dev/null
+++ b/files/pl/web/api/uievent/ischar/index.html
@@ -0,0 +1,25 @@
+---
+title: event.isChar
+slug: Web/API/UIEvent/isChar
+tags:
+ - DOM
+ - Wszystkie_kategorie
+translation_of: Web/API/UIEvent/isChar
+original_slug: Web/API/Event/isChar
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Zwraca wartość logiczną oznaczającą, czy w zdarzeniu pojawił się klawisz znaku czy nie.</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval">bool = event.isChar
+</pre>
+<h3 id="Example" name="Example">Example</h3>
+<pre> if e.isChar
+ echoInput(e.type);
+ }
+</pre>
+<h3 id="Notes" name="Notes">Notes</h3>
+<p>Niektórze kombinacje klawiszy mogą wywyoływać zdarzenia bez wystąpienia znaku (np. ctrl + alt). Wtedy <b>isChar</b> zwraca fałsz. <b>isChar</b> może być użyty, kiedy funkcje obsługujące zdarzenie potrzebują np. wyświetlić wprowadzony znak na ekranie.</p>
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+<p>Nie należy do specyfikacji.</p>
+<p>{{ languages( { "en": "en/DOM/event.isChar" } ) }}</p>