MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / showPrimary

Method showPrimary

packages/core/ui/split-view/index.ios.ts:253–259  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

251 }
252
253 showPrimary(): void {
254 if (!this.viewController) return;
255 this.viewController.showColumn(UISplitViewControllerColumn.Primary);
256 this._invalidateAllChildLayouts();
257 // Attach button after a short delay to ensure the column is visible
258 setTimeout(() => this.attachPrimaryButton(), 100);
259 }
260
261 hidePrimary(): void {
262 if (!this.viewController) return;

Callers 3

togglePrimaryMethod · 0.45
toggleMethod · 0.45
toggleMethod · 0.45

Calls 3

attachPrimaryButtonMethod · 0.95
setTimeoutFunction · 0.50

Tested by

no test coverage detected