createLatticeSpace#onVisualChange¶
Summary¶
createLatticeSpace#onVisualChange() subscribes to the lattice's explicit scale, colormap, and color-mode notifications.
Syntax¶
Returns¶
() => void - An unsubscribe function.
Notes¶
setScaleTransform() and applyScaleStats() emit "scale"; assigning colormap or colormapStops emits "colormap"; and changing colorMode emits "visual". Other mutable appearance and layout properties do not invoke this listener. Listener exceptions are ignored.