Tile - YUiWidget - Get First Child By Name – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:


==== name ====
==== name ====
Name of the child widget to search for


==== recursive ====
==== recursive ====
Line 16: Line 18:


'''YUiWidget'''
'''YUiWidget'''
=== Availability ===
[[Ylands:Tile Availability - Client|Client]], [[Ylands:Tile Availability - Server|Server]]


=== Description ===
=== Description ===

Revision as of 12:16, 12 November 2021

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.