v-click-outside, passing an object

Click around... see the colors change and labels pop. See the data value "{{static}}" get passed with the directive.

Note: Vue Directives can have data bound to them once, at run-time when they are created. If you bind a variable to the directive and then change the variable, the directive will maintain the old value when it calls the handler.

test
a
b
c d e
f
g h i

v-click-outside example