aboutsummaryrefslogtreecommitdiff
path: root/files/pl/orphaned/web/api/parentnode
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2021-07-07 12:37:56 -0400
committerGitHub <noreply@github.com>2021-07-07 12:37:56 -0400
commit9300e1df2b85949be1c0e858e7436c51bd1612da (patch)
tree4847e25d11474fe94fae46c88fb9c6e76e6721be /files/pl/orphaned/web/api/parentnode
parent08a3b863c23142aa3b1b6fa565e5346cb6d74a99 (diff)
downloadtranslated-content-9300e1df2b85949be1c0e858e7436c51bd1612da.tar.gz
translated-content-9300e1df2b85949be1c0e858e7436c51bd1612da.tar.bz2
translated-content-9300e1df2b85949be1c0e858e7436c51bd1612da.zip
delete all remaining orphaned pages in pl (#1417)
Diffstat (limited to 'files/pl/orphaned/web/api/parentnode')
-rw-r--r--files/pl/orphaned/web/api/parentnode/children/index.html97
-rw-r--r--files/pl/orphaned/web/api/parentnode/index.html91
2 files changed, 0 insertions, 188 deletions
diff --git a/files/pl/orphaned/web/api/parentnode/children/index.html b/files/pl/orphaned/web/api/parentnode/children/index.html
deleted file mode 100644
index f7f80ac704..0000000000
--- a/files/pl/orphaned/web/api/parentnode/children/index.html
+++ /dev/null
@@ -1,97 +0,0 @@
----
-title: ParentNode.children
-slug: orphaned/Web/API/ParentNode/children
-tags:
- - API
- - Dzieci
- - Dziecko
- - Kolekcja HTML
- - Potomek
- - Potomkowie
- - Właściwość
- - węzeł
-translation_of: Web/API/ParentNode/children
-original_slug: Web/API/ParentNode/children
----
-<div>{{ APIRef("DOM") }}</div>
-
-<p><span class="seoSummary">The {{domxref("ParentNode")}} właściwość <code><strong>children</strong></code> jest właściwością tylko do odczytu (read-only) która zwraca aktualną kolekcję {{domxref("HTMLCollection")}} zawierającą wszystkie elementy podrzędne {{domxref("Element", "elements")}} węzła, na którym został wywołany.</span></p>
-
-<h2 id="Składnia">Składnia</h2>
-
-<pre class="syntaxbox notranslate">let <var>children</var> = <var>node</var>.children;</pre>
-
-<h3 id="Value">Value</h3>
-
-<p>{{ domxref("HTMLCollection") }} aktualna, uporządkowana kolekcja elementów DOM które są potomkami <code><var>node</var></code>. Możesz otrzymać pojedynczych potomków kolekcji używając albo {{domxref("HTMLCollection.item()", "item()")}} metody na kolekcji, albo używając notacji w stylu tablicowym języka JavaScript.</p>
-
-<p>Jeżeli element node nie ma potomków, wtedy <code>children</code> jest pustą listą o długości 0 (<code>length</code> of <code>0)</code>.</p>
-
-<h2 id="Przykład">Przykład</h2>
-
-<pre class="brush: js notranslate">const foo = document.getElementById('foo');
-for (let i = 0; i &lt; foo.children.length; i++) {
- console.log(foo.children[i].tagName);
-}
-</pre>
-
-<h2 id="Uzupełnienie">Uzupełnienie</h2>
-
-<pre class="brush: js notranslate">// Nadpisuje natywny prototyp 'children'.
-// Dodaje Document &amp; DocumentFragment wsparcie dla IE9 &amp; Safari.
-// Zwraca tablicę zamiast HTMLCollection.
-;(function(constructor) {
- if (constructor &amp;&amp;
- constructor.prototype &amp;&amp;
- constructor.prototype.children == null) {
- Object.defineProperty(constructor.prototype, 'children', {
- get: function() {
- let i = 0, node, nodes = this.childNodes, children = [];
- while (node = nodes[i++]) {
- if (node.nodeType === 1) {
- children.push(node);
- }
- }
- return children;
- }
- });
- }
-})(window.Node || window.Element);
-</pre>
-
-<h2 id="Specyfikacja">Specyfikacja</h2>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">Specification</th>
- <th scope="col">Status</th>
- <th scope="col">Comment</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{SpecName('DOM WHATWG', '#dom-parentnode-children', 'ParentNode.children')}}</td>
- <td>{{Spec2('DOM WHATWG')}}</td>
- <td>Wstępna definicja</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Zgodność_z_przeglądarkami">Zgodność z przeglądarkami</h2>
-
-<div class="hidden">Tablica zgodności na tej stronie jest generowana z danych strukturalnych. Jeśli chcesz przyczynić się do do tych danych, proszę sprawdź <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> i wyślij nam swoją propozycję (a pull request).</div>
-
-<p>{{Compat("api.ParentNode.children")}}</p>
-
-<h2 id="Zobacz_także">Zobacz także</h2>
-
-<ul>
- <li>Interfejsy {{domxref("ParentNode")}} {{domxref("ChildNode")}}.</li>
- <li>
- <div class="syntaxbox">Typy obiektów implementujące ten interfejs: {{domxref("Document")}}, {{domxref("Element")}}, {{domxref("DocumentFragment")}}.</div>
- </li>
- <li>
- <div class="syntaxbox">{{domxref("Node.childNodes")}}</div>
- </li>
-</ul>
diff --git a/files/pl/orphaned/web/api/parentnode/index.html b/files/pl/orphaned/web/api/parentnode/index.html
deleted file mode 100644
index f2d4862961..0000000000
--- a/files/pl/orphaned/web/api/parentnode/index.html
+++ /dev/null
@@ -1,91 +0,0 @@
----
-title: ParentNode
-slug: orphaned/Web/API/ParentNode
-tags:
- - API
- - DOM
- - Finding Elements
- - Finding Nodes
- - Interface
- - Locating Elements
- - Locating Nodes
- - Managing Elements
- - Managing Nodes
- - Mixin
- - NeedsTranslation
- - Node
- - ParentNode
- - Reference
- - Selectors
- - TopicStub
-translation_of: Web/API/ParentNode
-original_slug: Web/API/ParentNode
----
-<div>{{APIRef("DOM")}}</div>
-
-<p><span class="seoSummary">The <code><strong>ParentNode</strong></code> mixin contains methods and properties that are common to all types of {{domxref("Node")}} objects that can have children.</span> It's implemented by {{domxref("Element")}}, {{domxref("Document")}}, and {{domxref("DocumentFragment")}} objects.</p>
-
-<p>See <a href="/en-US/docs/Web/API/Document_object_model/Locating_DOM_elements_using_selectors">Locating DOM elements using selectors</a> to learn how to use <a href="/en-US/docs/Web/CSS/CSS_Selectors">CSS selectors</a> to find nodes or elements of interest.</p>
-
-<h2 id="Properties">Properties</h2>
-
-<dl>
- <dt>{{domxref("ParentNode.childElementCount")}} {{readonlyInline}}</dt>
- <dd>Returns the number of children of this <code>ParentNode</code> which are elements.</dd>
- <dt>{{domxref("ParentNode.children")}} {{readonlyInline}}</dt>
- <dd>Returns a live {{domxref("HTMLCollection")}} containing all of the {{domxref("Element")}} objects that are children of this <code>ParentNode</code>, omitting all of its non-element nodes.</dd>
- <dt>{{domxref("ParentNode.firstElementChild")}} {{readonlyInline}}</dt>
- <dd>Returns the first node which is both a child of this <code>ParentNode</code> <em>and</em> is also an <code>Element</code>, or <code>null</code> if there is none.</dd>
- <dt>{{domxref("ParentNode.lastElementChild")}} {{readonlyInline}}</dt>
- <dd>Returns the last node which is both a child of this <code>ParentNode</code> <em>and</em> is an <code>Element</code>, or <code>null</code> if there is none.</dd>
-</dl>
-
-<h2 id="Methods">Methods</h2>
-
-<dl>
- <dt>{{domxref("ParentNode.append()")}} {{experimental_inline}}</dt>
- <dd>Inserts a set of {{domxref("Node")}} objects or {{domxref("DOMString")}} objects after the last child of the <code>ParentNode</code>. {{domxref("DOMString")}} objects are inserted as equivalent {{domxref("Text")}} nodes.</dd>
- <dt>{{domxref("ParentNode.prepend()")}} {{experimental_inline}}</dt>
- <dd>Inserts a set of {{domxref("Node")}} objects or {{domxref("DOMString")}} objects before the first child of the <code>ParentNode</code>. {{domxref("DOMString")}} objects are inserted as equivalent {{domxref("Text")}} nodes.</dd>
- <dt>{{domxref("ParentNode.querySelector()")}}</dt>
- <dd>Returns the first {{domxref("Element")}} with the current element as root that matches the specified group of selectors.</dd>
- <dt>{{domxref("ParentNode.querySelectorAll()")}}</dt>
- <dd>Returns a {{domxref("NodeList")}} representing a list of elements with the current element as root that matches the specified group of selectors.</dd>
-</dl>
-
-<h2 id="Specification">Specification</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Specification</th>
- <th scope="col">Status</th>
- <th scope="col">Comment</th>
- </tr>
- <tr>
- <td>{{SpecName('DOM WHATWG', '#parentnode', 'ParentNode')}}</td>
- <td>{{Spec2('DOM WHATWG')}}</td>
- <td>Split the <code>ElementTraversal</code> interface into {{domxref("ChildNode")}} and {{domxref("ParentNode")}}. The {{domxref("ParentNode.firstElementChild")}}, {{domxref("ParentNode.lastElementChild")}}, and {{domxref("ParentNode.childElementCount")}} properties are now defined on the latter. Added the {{domxref("ParentNode.children")}} property, and the {{domxref("ParentNode.querySelector()")}}, {{domxref("ParentNode.querySelectorAll()")}}, {{domxref("ParentNode.append()")}}, and {{domxref("ParentNode.prepend()")}} methods.</td>
- </tr>
- <tr>
- <td>{{SpecName('Element Traversal', '#interface-elementTraversal', 'ElementTraversal')}}</td>
- <td>{{Spec2('Element Traversal')}}</td>
- <td>Added the initial definition of its properties to the <code>ElementTraversal</code> pure interface and used it on {{domxref("Element")}}.</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Browser_compatibility">Browser compatibility</h2>
-
-
-
-<p>{{Compat("api.ParentNode")}}</p>
-
-<h2 id="See_also">See also</h2>
-
-<ul>
- <li>The {{domxref("ChildNode")}} pure interface.</li>
- <li>
- <div class="syntaxbox">Object types implementing this mixin: {{domxref("Document")}}, {{domxref("Element")}}, and {{domxref("DocumentFragment")}}.</div>
- </li>
-</ul>