How do Vue custom directives configure render and custom components?

I defined a custom directive such as v-dbClick

I want to be able to click and execute render to create a dom or pass a component to create

v-dbClick="{
 render:??
}

for render, the?? How should it be configured to use it?

  bind  binding.value.render  createElement 

in addition, I consider how to use components, but I don"t understand how to bind my components to custom instructions.

Mar.02,2021
Menu