mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-24 03:40:10 +00:00
Move function
This commit is contained in:
parent
0eb120eea0
commit
a67231ae1c
@ -116,12 +116,12 @@ class Popover extends Tooltip {
|
|||||||
tip.classList.remove(CLASS_NAME_FADE, CLASS_NAME_SHOW)
|
tip.classList.remove(CLASS_NAME_FADE, CLASS_NAME_SHOW)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Private
|
||||||
|
|
||||||
_addAttachmentClass(attachment) {
|
_addAttachmentClass(attachment) {
|
||||||
this.getTipElement().classList.add(`${CLASS_PREFIX}-${attachment}`)
|
this.getTipElement().classList.add(`${CLASS_PREFIX}-${attachment}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Private
|
|
||||||
|
|
||||||
_getContent() {
|
_getContent() {
|
||||||
return this.element.getAttribute('data-content') ||
|
return this.element.getAttribute('data-content') ||
|
||||||
this.config.content
|
this.config.content
|
||||||
|
Loading…
x
Reference in New Issue
Block a user