MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / dogTap

Function dogTap

apps/ui/src/button/tappable-span-page.ts:15–25  ·  view source on GitHub ↗
(args: EventData)

Source from the content-addressed store, hash-verified

13}
14
15export function dogTap(args: EventData) {
16 let page = <Page>(<any>args.object).page;
17 let dogTapped = page.getViewById<Label>('dogTapped');
18 dogTapped.visibility = 'visible';
19
20 setTimeout(() => {
21 dogTapped.visibility = 'hidden';
22 }, 1000);
23
24 console.log('dogTap');
25}

Callers

nothing calls this directly

Calls 2

setTimeoutFunction · 0.50
logMethod · 0.45

Tested by

no test coverage detected