Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 684 Bytes

getViewById.md

File metadata and controls

24 lines (17 loc) · 684 Bytes
title getViewById
titleTemplate title - API / NativeScript
contributors false
function getViewById(view: ViewBase, id: string): ViewBase;

Defined in: ui/core/view-base/index.ts

Gets a child view by id.

Parameters

Parameter Type Description
view ViewBase The parent (container) view of the view to look for.
id string The id of the view to look for. Returns an instance of a view (if found), otherwise undefined.

Returns

ViewBase