|
|
@ -72,6 +72,7 @@ export class Bubble extends Widget { |
|
|
|
popup: {}, |
|
|
|
popup: {}, |
|
|
|
comboClass: "bi-combo-popup", |
|
|
|
comboClass: "bi-combo-popup", |
|
|
|
hoverClass: "bi-combo-hover", |
|
|
|
hoverClass: "bi-combo-hover", |
|
|
|
|
|
|
|
extraModifiers: [] |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -410,7 +411,16 @@ export class Bubble extends Widget { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
_popupView(e) { |
|
|
|
_popupView(e) { |
|
|
|
const { adjustXOffset, showArrow, adjustYOffset, adjustLength, placement, hideWhenClickOutside, hideWhenBlur } = |
|
|
|
const { |
|
|
|
|
|
|
|
adjustXOffset, |
|
|
|
|
|
|
|
showArrow, |
|
|
|
|
|
|
|
adjustYOffset, |
|
|
|
|
|
|
|
adjustLength, |
|
|
|
|
|
|
|
placement, |
|
|
|
|
|
|
|
hideWhenClickOutside, |
|
|
|
|
|
|
|
hideWhenBlur, |
|
|
|
|
|
|
|
extraModifiers |
|
|
|
|
|
|
|
} = |
|
|
|
this.options; |
|
|
|
this.options; |
|
|
|
this._assertPopupViewRender(); |
|
|
|
this._assertPopupViewRender(); |
|
|
|
this.fireEvent(Bubble.EVENT_BEFORE_POPUPVIEW); |
|
|
|
this.fireEvent(Bubble.EVENT_BEFORE_POPUPVIEW); |
|
|
@ -429,6 +439,7 @@ export class Bubble extends Widget { |
|
|
|
offset: () => [adjustXOffset, (showArrow ? 12 : 0) + (adjustYOffset + adjustLength)], |
|
|
|
offset: () => [adjustXOffset, (showArrow ? 12 : 0) + (adjustYOffset + adjustLength)], |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
...extraModifiers |
|
|
|
]; |
|
|
|
]; |
|
|
|
if (this.options.showArrow) { |
|
|
|
if (this.options.showArrow) { |
|
|
|
modifiers.push({ |
|
|
|
modifiers.push({ |
|
|
|