Tile - YUiWidget - Get First Child By Name – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "^ ---- \{\{Navbox\/Ylands\}\}" to "{{Stub}} ---- \{\{Navbox\/Ylands\}\}")
m (Text replacement - "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}" to "{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Stub}}
<!---
THIS PAGE WAS GENERATED AUTOMATICALLY; DO NOT EDIT IT, OTHERWISE YOUR CHANGES WILL BE LOST DURING FUTURE UPDATE.
-->
== Get First Child By Name(Widget, Name, Recursive) ==
 
[[File:YlandsTile-674.png]]
 
<pre>getFirstChildByName(name: string, recursive: boolean): YUiWidget;</pre>
=== Parameters ===
 
==== name ====
 
Name of the child widget to search for
 
==== recursive ====
 
=== Returns ===
 
'''YUiWidget'''
 
=== Availability ===
 
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]]
 
=== Description ===
 
Returns the '''first child''' with the specified '''name'''.




----
----
\{\{Navbox\/Ylands\}\}
{{Navbox/Ylands}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|14}}}}
{{DEFAULTSORT:{{#sub:{{PAGENAME}}|7}}}}


[[Category: Instructions]]
[[Category: Instructions]]
[[Category: Ylands 0.14]]

Latest revision as of 15:35, 24 November 2023

Get First Child By Name(Widget, Name, Recursive)

YlandsTile-674.png

getFirstChildByName(name: string, recursive: boolean): YUiWidget;

Parameters

name

Name of the child widget to search for

recursive

Returns

YUiWidget

Availability

Client, Server

Description

Returns the first child with the specified name.