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

Function closeModal

packages/core/ui/core/view-base/index.ts:1512–1517  ·  view source on GitHub ↗

* Closes the current modal view that this page is showing. * @param context - Any context you want to pass back to the host when closing the modal view.

(...args)

Source from the content-addressed store, hash-verified

1510 * @param context - Any context you want to pass back to the host when closing the modal view.
1511 */
1512 public closeModal(...args): void {
1513 const parent = this.parent;
1514 if (parent) {
1515 parent.closeModal(...args);
1516 }
1517 }
1518
1519 /**
1520 * Method is intended to be overridden by inheritors and used as "protected"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected