Difference between revisions of "SHIP:Sail:getChild"

From Serious Documentation
Jump to: navigation, search
(Sail Function getChild)
Line 1: Line 1:
 
[[SHIP:Sail|SHIP Sail Reference Home]]
 
[[SHIP:Sail|SHIP Sail Reference Home]]
  
== Sail Function getChild ==
+
== getChild ==
  
 
<code>node = getChild(parentNode, index);</code>
 
<code>node = getChild(parentNode, index);</code>

Revision as of 16:41, 4 December 2012

SHIP Sail Reference Home

getChild

node = getChild(parentNode, index);

Parameters/Return Value

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