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
A callback that runs when the canOpen
state of the specified target changes.
This callback fires immediately.
Parameters
Required
Information about whether or not an overlay can be opened for the specified target.
Returns
void
Required
The target to check the canOpen
state of.
This must be "image_selection"
.
Returns
() => void