Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NativeScript/NativeScript
/ clear
Function
clear
apps/ui/src/events/layout-changed-event-page.ts:21–24 ·
view source on GitHub ↗
(args)
Source
from the content-addressed store, hash-verified
19
}
20
21
export
function
clear(args) {
22
(<StackLayout>args.object.page.getViewById(
'target'
)).removeChildren();
23
args.object.page.getViewById(
'output'
).text =
''
;
24
}
Callers
nothing calls this directly
Calls
1
removeChildren
Method · 0.80
Tested by
no test coverage detected