Home > @uniformdev/canvas > PreviewClient > getPreviewViewports
PreviewClient.getPreviewViewports() method
Fetches all preview viewports for a project
Signature:
Parameters
Parameter | Type | Description |
---|---|---|
options | ExceptProject<PreviewViewportsGetParameters> | (Optional) |
Returns:
Promise<{ previewViewports: { id: string; name: string; icon: string; width: number; }[]; }>