9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement
ts
function getViewById(view: ViewBase, id: string): ViewBase;

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

Gets a child view by id.

Parameters

ParameterTypeDescription
viewViewBaseThe parent (container) view of the view to look for.
idstringThe id of the view to look for. Returns an instance of a view (if found), otherwise undefined.

Returns

ViewBase