Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1133bd4

Browse files
committed
Fixed arguments passed to unmounted hook in directives
1 parent 18d8ec4 commit 1133bd4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎packages/coreui-vue/src/directives/v-c-popover.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export default {
9696
})
9797
}
9898
},
99-
unmounted(binding: DirectiveBinding): void {
99+
unmounted(_el: HTMLElement,binding: DirectiveBinding): void {
100100
const popover = binding.arg && document.getElementById(binding.arg)
101101
popover && popover.remove()
102102
},

‎packages/coreui-vue/src/directives/v-c-tooltip.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default {
9292
})
9393
}
9494
},
95-
beforeUnmount(binding: DirectiveBinding): void {
95+
beforeUnmount(_el: HTMLElement,binding: DirectiveBinding): void {
9696
const tooltip = binding.arg && document.getElementById(binding.arg)
9797
tooltip && tooltip.remove()
9898
},

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /