aboutsummaryrefslogtreecommitdiff
path: root/files/pl/web/api/mouseevent/initmouseevent/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/pl/web/api/mouseevent/initmouseevent/index.html')
-rw-r--r--files/pl/web/api/mouseevent/initmouseevent/index.html87
1 files changed, 87 insertions, 0 deletions
diff --git a/files/pl/web/api/mouseevent/initmouseevent/index.html b/files/pl/web/api/mouseevent/initmouseevent/index.html
new file mode 100644
index 0000000000..c1a703b537
--- /dev/null
+++ b/files/pl/web/api/mouseevent/initmouseevent/index.html
@@ -0,0 +1,87 @@
+---
+title: event.initMouseEvent
+slug: Web/API/MouseEvent/initMouseEvent
+tags:
+ - DOM
+ - Dokumentacja_Gecko_DOM
+ - Gecko
+ - Wszystkie_kategorie
+translation_of: Web/API/MouseEvent/initMouseEvent
+original_slug: Web/API/Event/initMouseEvent
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Podsumowanie" name="Podsumowanie">Podsumowanie</h3>
+<p>Inicjuje zdarzenie myszy po jego utworzeniu (za pomocą metody <a href="pl/DOM/document.createEvent">createEvent</a> interfejsu <code>DocumentEvent</code>).</p>
+<h3 id="Sk.C5.82adnia" name="Sk.C5.82adnia">Składnia</h3>
+<pre class="eval"><i>event</i>.initMouseEvent(<i>type</i>,<i>canBubble</i>,<i>cancelable</i>,<i>view</i>,<i>detail</i>,<i>screenX</i>,<i>screenY</i>,<i>clientX</i>,<i>clientY</i>,<i>ctrlKey</i>,<i>altKey</i>,<i>shiftKey</i>,<i>metaKey</i>,<i>button</i>,<i>relatedTarget</i>);
+</pre>
+<dl>
+ <dt>
+ <code>type</code></dt>
+ <dd>
+ łańcuch znaków do ustawienia <a href="pl/DOM/event.type">typu</a> zdarzeń. Możliwe typy dla zdarzeń myszy: <code>click</code>, <code>mousedown</code>, <code>mouseup</code>, <code>mouseover</code>, <code>mousemove</code>, <code>mouseout</code>.</dd>
+ <dt>
+ <code>canBubble</code></dt>
+ <dd>
+ czy zdarzenie bąbelkuje. Ustawia wartość <a href="pl/DOM/event.bubbles">event.bubbles</a>.</dd>
+ <dt>
+ <code>cancelable</code></dt>
+ <dd>
+ czy domyślna akcja zdarzenia może być anulowana. Ustawia Ustawia wartość <a href="pl/DOM/event.cancelable">event.cancelable</a>.</dd>
+ <dt>
+ <code>view</code></dt>
+ <dd>
+ AbstractView zdarzenia. You should pass the <a href="pl/DOM/window">window</a> object here. Ustawia wartość <a href="pl/DOM/event.view">event.view</a>.</dd>
+ <dt>
+ <code>detail</code></dt>
+ <dd>
+ wartość licznika kliknięć myszą. Ustawia wartość <a href="pl/DOM/event.detail">event.detail</a>.</dd>
+ <dt>
+ <code>screenX</code></dt>
+ <dd>
+ współrzędna x względem ekranu. Ustawia wartość <a href="pl/DOM/event.screenX">event.screenX</a>.</dd>
+ <dt>
+ <code>screenY</code></dt>
+ <dd>
+ współrzędna y względem ekranu. Ustawia wartość <a href="pl/DOM/event.screenY">event.screenY</a>.</dd>
+ <dt>
+ <code>clientX</code></dt>
+ <dd>
+ współrzędna x w obszarze klienta. Ustawia wartość <a href="pl/DOM/event.clientX">event.clientX</a>.</dd>
+ <dt>
+ <code>clientY</code></dt>
+ <dd>
+ współrzędna y w obszarze klienta. Ustawia wartość <a href="pl/DOM/event.clientY">event.clientY</a>.</dd>
+ <dt>
+ <code>ctrlKey</code></dt>
+ <dd>
+ czy klawisz control był wciśnięty podczas zdarzenia. Ustawia wartość <a href="pl/DOM/event.ctrlKey">event.ctrlKey</a>.</dd>
+ <dt>
+ <code>altKey</code></dt>
+ <dd>
+ czy klawisz alt był wciśnięty podczas zdarzenia. Ustawia wartość <a href="pl/DOM/event.altKey">event.altKey</a>.</dd>
+ <dt>
+ <code>shiftKey</code></dt>
+ <dd>
+ czy klawisz shift był wciśnięty podczas zdarzenia. Ustawia wartość <a href="pl/DOM/event.shiftKey">event.shiftKey</a>.</dd>
+ <dt>
+ <code>metaKey</code></dt>
+ <dd>
+ czy klawisz meta był wciśnięty podczas zdarzenia. Ustawia wartość <a href="pl/DOM/event.metaKey">event.metaKey</a>.</dd>
+ <dt>
+ <code>button</code></dt>
+ <dd>
+ zdarzenie myszy <a href="pl/DOM/event.button">event.button</a>.</dd>
+ <dt>
+ <code>relatedTarget</code></dt>
+ <dd>
+ zdarzenie <a href="pl/DOM/event.relatedTarget">related EventTarget</a>. Stosowane tylko z kilkoma typami zdarzeń (np. <code>mouseover</code> i <code>mouseout</code>). W innych przypadkach, zwraca <code>null</code>.</dd>
+</dl>
+<h3 id="Przyk.C5.82ad" name="Przyk.C5.82ad">Przykład</h3>
+<p> </p>
+<h3 id="Specyfikacja" name="Specyfikacja">Specyfikacja</h3>
+<p><a class="external" href="http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-Event-initMouseEvent">DOM Level 2 Events: initMouseEvent</a></p>
+<p> </p>
+<div class="noinclude">
+  </div>
+<p>{{ languages( { "en": "en/DOM/event.initMouseEvent", "es": "es/DOM/event.initMouseEvent" } ) }}</p>