Registers a callback that runs when the canOpen
state of an overlay target changes.
Parameters
Required
Options for configuring the callback.
Properties of opts
Required
The target to check the canOpen
state of.
This must be "image_selection"
.
Returns
() => void