How could I remove a vnode in custom directive? #11161
Unanswered
s3xysteak
asked this question in
Help/Questions
Replies: 1 comment
-
May be you can try like this: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to make a custom directive, which will send request to verify permissions, and decide if the vnode should be removed.
But I don't know how to remove the vnode in custom directive. Should I use something like
vnode.destory()
orel.remove()
?It looks like:
Beta Was this translation helpful? Give feedback.
All reactions