How to change hover not click to show contextPadProvider

We know user click the element will popup the contextPadProvier, but now I want change to hover the elemnt to show contextPadProvider, because I want do other thing when user click the element, so how to do?

Here’s how I did it:

const eventBus = that.bpmnModeler.get('eventBus')
const contextPad = that.bpmnModeler.get('contextPad')
eventBus.on('element.hover', e => {
    const item = e.element
    contextPad.open(item)
})

U can close contextPad in event ‘element.click’