Skip to content

Commit

Permalink
Make directive operation more obvious
Browse files Browse the repository at this point in the history
  • Loading branch information
Bahul Neel Upadhyaya committed Oct 1, 2024
1 parent 0ac8a15 commit 28a1415
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/showcase/plugins/directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { Plugin } from 'vue'

const vTest = (el: HTMLElement, binding: any) => {
console.log('vTest', el, binding)
el.style.backgroundColor = 'red'
}

const intentDirectivePlugin: Plugin = {
Expand Down

0 comments on commit 28a1415

Please sign in to comment.