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

Function openModal

apps/ui/src/modal-view/modal-view-page.ts:13–19  ·  view source on GitHub ↗
(page: Page, label: Label, context: string)

Source from the content-addressed store, hash-verified

11}
12
13function openModal(page: Page, label: Label, context: string) {
14 page.showModal('modal-view/login-page', {
15 context,
16 closeCallback: createCloseCallback(label, context),
17 fullscreen: false,
18 });
19}
20
21export function onTap(args) {
22 const page = <Page>args.object.page;

Callers 2

onTapSecondModalInCBFunction · 0.85
onTapSecondModalInTimerFunction · 0.85

Calls 1

createCloseCallbackFunction · 0.85

Tested by

no test coverage detected