ScorecardCanvas.subscribeAdapterInputEvents Method

Subscribe input event handlers for adapters.
 

Parameters

adapter

Type: Adapter
The adapter to tie input events to
callbackOptions


     Object encapsulating the following options:
     onKeyDown:  Object{handler, unsubscribe}
                 handler [type: Function(event)] - the handler for key down
                 unsubscribe [type: Boolean] - true to unsubscribe
     onKeyUp:    Object{handler, unsubscribe}
                 handler [type: Function(event)] - the handler for key down
                 unsubscribe [type: Boolean] - true to unsubscribe
     onDblClick: Object({handler, unsubscribe}
                 handler [type: Function(event)] - the handler for double click
                 unsubscribe [type: Boolean] - true to unsubscribe