Movatterモバイル変換


[0]ホーム

URL:


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

Commitd714fb8

Browse files
committed
fix: add proper directives names
1 parenta511f6e commitd714fb8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ const toggleTooltipElement = (tooltip: HTMLDivElement, el: HTMLElement, popperOp
4040
}
4141

4242
exportdefault{
43+
name:'c-tooltip',
4344
mounted(el:HTMLElement,binding:DirectiveBinding):void{
4445
constvalue=binding.value
4546
constcontent=typeofvalue==='string' ?value :value.content??''

‎packages/coreui-vue/src/index.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const CoreuiVue = {
99
}
1010

1111
for(constkeyinDirectives){
12-
app.directive(key,Directives[key])
12+
app.directive(Directives[key]['name'],Directives[key])
1313
}
1414
},
1515
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp