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

Method hideInspector

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

Source from the content-addressed store, hash-verified

296 }
297
298 hideInspector(): void {
299 if (!this.viewController) return;
300 if (this.viewController.preferredInspectorColumnWidthFraction !== undefined) {
301 this.viewController.hideColumn(UISplitViewControllerColumn.Inspector);
302 this.inspectorButtonAttached = false;
303 this.notifyInspectorChange(false);
304 this._invalidateAllChildLayouts();
305 }
306 }
307
308 notifyInspectorChange(showing: boolean): void {
309 this.inspectorShowing = showing;

Callers 1

toggleInspectorMethod · 0.45

Calls 2

notifyInspectorChangeMethod · 0.95

Tested by

no test coverage detected