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

Function onTapStretched

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

Source from the content-addressed store, hash-verified

31}
32
33export function onTapStretched(args) {
34 const page = <Page>args.object.page;
35 const label = page.getViewById<Label>('label');
36
37 page.showModal('modal-view/login-page', {
38 context: 'context',
39 closeCallback: createCloseCallback(label),
40 fullscreen: false,
41 animated: false,
42 stretched: true,
43 });
44}
45
46export function onTapSecondModalInCB(args) {
47 const page = <Page>args.object.page;

Callers

nothing calls this directly

Calls 1

createCloseCallbackFunction · 0.85

Tested by

no test coverage detected