Possible values for bindTo property of keyboard -- keyboard shortcuts

I am trying to assign the specific DOM element/ documentElement/DOM node, where i have to apply the keyboard shortcuts.

i tried with the angular reference.nativeElement, tried with the document.getElementId(‘demo’). Both didnt work.

Can anyone tell me the possible values for
var bpmnJS = new BpmnJs({

  • keyBoard: {bindTo: ?}*


The application i work on has tabular functionality.

bindTo accepts a DOMElement as a reference.

Once that element has focus (and the user uses keystrokes) the keyboard will receive and process these events.

Thank you! :slight_smile: