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/document/firstchild/index.html | 37 ------------------------- 1 file changed, 37 deletions(-) delete mode 100644 files/pl/web/api/document/firstchild/index.html (limited to 'files/pl/web/api/document/firstchild/index.html') diff --git a/files/pl/web/api/document/firstchild/index.html b/files/pl/web/api/document/firstchild/index.html deleted file mode 100644 index f53cd74778..0000000000 --- a/files/pl/web/api/document/firstchild/index.html +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: document.firstChild -slug: Web/API/Document/firstChild -tags: - - DOM - - Dokumentacja_Gecko_DOM - - Gecko - - Wszystkie_kategorie -translation_of: Web/API/Node/firstChild -translation_of_original: Web/API/document.firstChild ---- -

{{ ApiRef() }}

-

Podsumowanie

-

document.firstChild zwraca pierwszy węzeł z listy bezpośrednich dzieci dokumentu.

-

Składnia

-
dziecko = document.firstChild
-
-

Parametry

- -

Przykład

-
function fChild() {
-  f = document.firstChild;
-  alert(f.tagName);
-}
-// wyświetli: HTML
-
-

Uwagi

-

Zauważ, że możesz powrócić do drzewa DOM z tą własnością, by przejąć te węzły potomne, których potrzebujesz, ponieważ prawie zawsze firstChild zwraca element HTML.

-

Specyfikacja

-

firstChild

-

 

-

 

-
-  
-

{{ languages( { "en": "en/DOM/document.firstChild", "es": "es/DOM/document.firstChild", "fr": "fr/DOM/document.firstChild", "ja": "ja/DOM/document.firstChild" } ) }}

-- cgit v1.2.3-54-g00ecf