MCPcopy 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
21export 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

removeChildrenMethod · 0.80

Tested by

no test coverage detected