DocsWindowposition

WindowPosition namespace

import { WindowPosition } from '@withfig/api-bindings'

isValidFrame

Declaration

export async function isValidFrame(frame: {
  width: number;
  height: number;
  anchorX: number;
}): Promise<PositionWindowResponse>;

setFrame

Declaration

export async function setFrame(frame: {
  width: number;
  height: number;
  anchorX: number;
  offsetFromBaseline: number | undefined;
}): Promise<PositionWindowResponse>;