Skip to content

gi-nx


gi-nx / updateUiLayout

ts
function updateUiLayout(layout: SdkUiLayout): void;

Update UI layout settings (lens table, overlays, bottom-bar iframe). See SdkUiLayout for available fields.

Parameters ​

ParameterType
layoutSdkUiLayout

Returns ​

void

void

Throws ​

Error "Invalid overlay: {name}" if activeOverlay is not a valid overlay

Example ​

typescript
rpc.invoke("updateUiLayout", [{
  lensTableMode: "collapsed",
  lensTableHeight: 200
}]);