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

Function closeModal

packages/core/ui/core/view/view-common.ts:434–444  ·  view source on GitHub ↗
(...args)

Source from the content-addressed store, hash-verified

432 }
433
434 public closeModal(...args) {
435 const closeCallback = this._closeModalCallback;
436 if (closeCallback) {
437 closeCallback(...args);
438 } else {
439 const parent = this.parent;
440 if (parent) {
441 parent.closeModal(...args);
442 }
443 }
444 }
445
446 public get modal(): ViewCommon {
447 return this._modal;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected