Difference between revisions of "SHIP:Sail:getChild"

From Serious Documentation
Jump to: navigation, search
(Created page with "Function Template: <code>node = getChild(parentNode, index);<code> === Parameters & Return Value === {| class="wikitable" style="margin: 1em auto 1em auto;" ! scope="co...")
 
Line 1: Line 1:
 
Function Template:
 
Function Template:
  
<code>node = getChild(parentNode, index);<code>
+
<code>node = getChild(parentNode, index);</code>
  
 
=== Parameters &amp; Return Value ===
 
=== Parameters &amp; Return Value ===

Revision as of 16:24, 4 December 2012

Function Template:

node = getChild(parentNode, index);

Parameters & Return Value

Name Data Type Description
node Node the nth node within the parentNode's children
parentNode Node The node to look in for children
index Integer The index of the child desired in the parent