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

Function onTap

apps/ui/src/modal-view/modal-view-page.ts:21–31  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

19}
20
21export function onTap(args) {
22 const page = <Page>args.object.page;
23 const label = page.getViewById<Label>('label');
24 var fullscreen = (<any>args.object).text.indexOf('(full-screen)') !== -1;
25
26 page.showModal('modal-view/login-page', {
27 context: 'context',
28 closeCallback: createCloseCallback(label),
29 fullscreen,
30 });
31}
32
33export function onTapStretched(args) {
34 const page = <Page>args.object.page;

Callers

nothing calls this directly

Calls 2

createCloseCallbackFunction · 0.85
indexOfMethod · 0.80

Tested by

no test coverage detected