Skip to main content

Function: getViewportsWithImageURI()

getViewportsWithImageURI(imageURI): ImageSliceViewport[]

Get the viewport that is rendering the image with the given imageURI (imageId without the loader schema), this can be any viewport that exposes image-slice queries.

Parameters​

• imageURI: string

The imageURI of the image that is requested

Returns​

ImageSliceViewport[]

Matching image-slice-aware viewports

Defined in​

packages/core/src/utilities/getViewportsWithImageURI.ts:15