MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / onTap

Function onTap

apps/ui/src/issues/issue-3211-page.ts:3–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import { alert } from '@nativescript/core/ui/dialogs';
2
3export function onTap() {
4 var options = {
5 title: 'Race selection',
6 message: 'Race chosen: Unicorn',
7 okButtonText: 'OK',
8 };
9 alert(options).then(() => {
10 console.log('Race chosen!');
11 });
12}

Callers

nothing calls this directly

Calls 2

alertFunction · 0.90
logMethod · 0.45

Tested by

no test coverage detected