useDisplayOptions2d
ts
Returns the reactive 2D display options for a dataset.
Subscribes to DisplayOptions2d.onChanged. The hook triggers a re-render whenever the options change.
Parameters
| Parameter | Type | Description |
|---|---|---|
sis | SharedImageSet | The dataset whose 2D display options to observe |
Returns
The DisplayOptions2d handle
Throws
If called outside of an ImFusionProvider
Throws
If called before the SDK has finished initializing
Example
tsx