Skip to content

Commit 5e889af

Browse files
Added postionBy directive options to tooltip and popovers (#420)
Co-authored-by: Stefan.Cardnell <[email protected]>
1 parent 4b86d70 commit 5e889af

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/directives/popover/popover.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const bind = (el, binding) => {
1313
target: el,
1414
appendTo: binding.arg && '#' + binding.arg,
1515
title: binding.value && binding.value.title && binding.value.title.toString(),
16+
positionBy: binding.value && binding.value.positionBy && binding.value.positionBy.toString(),
1617
content: binding.value && binding.value.content && binding.value.content.toString(),
1718
viewport: binding.value && binding.value.viewport && binding.value.viewport.toString(),
1819
customClass: binding.value && binding.value.customClass && binding.value.customClass.toString()

src/directives/tooltip/tooltip.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const bind = (el, binding) => {
1313
target: el,
1414
appendTo: binding.arg && '#' + binding.arg,
1515
text: typeof binding.value === 'string' ? (binding.value && binding.value.toString()) : (binding.value && binding.value.text && binding.value.text.toString()),
16+
positionBy: binding.value && binding.value.positionBy && binding.value.positionBy.toString(),
1617
viewport: binding.value && binding.value.viewport && binding.value.viewport.toString(),
1718
customClass: binding.value && binding.value.customClass && binding.value.customClass.toString(),
1819
showDelay: binding.value && binding.value.showDelay,

0 commit comments

Comments
 (0)