Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NativeScript/NativeScript
/ getElementById
Function
getElementById
apps/ui/src/issues/issue-3714-page.ts:9–9 ·
view source on GitHub ↗
(id)
Source
from the content-addressed store, hash-verified
7
const
page = <Page>(<any>args.object).page;
8
9
const
getElementById = (id) => page.getViewById(id);
10
11
const
toggleBtn = <Button>getElementById(
'toggleUserInteraction'
);
12
const
isEnabled = toggleBtn.text ===
'disable'
? true : false;
Callers
1
toggle
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected