vue-vnode-syringe icon indicating copy to clipboard operation
vue-vnode-syringe copied to clipboard

Directive Support

Open cihad opened this issue 5 years ago • 3 comments

Do you have a plan to support for directives?

Like as:

<vnode-syringe v-show="show">
  <slot />
</vnode-syringe>

or for custom directives.

Thank you.

cihad avatar Oct 27 '20 12:10 cihad

I'm wondering if it's even possible for a component to bypass something like v-if, but it's a good feature.

Will look into it! Thanks 👍

privatenumber avatar Oct 31 '20 23:10 privatenumber

@cihad

I opened a PR for it.

Do you mind sharing your use-case? I'm wondering if there's a simple demo I can add to the README.

privatenumber avatar Nov 01 '20 23:11 privatenumber