DataCubeCanvas.subscribeBackgroundChanged Method

Subscribe a handler for the background changed event.
 

Parameters

callback

Type: function (event, eventType)
The event handler.
unsubscribe

Type: Boolean
true to unsubscribe, false to subscribe