Arrow for OverlayPanel

This commit is contained in:
cagataycivici 2019-02-03 22:25:40 +03:00
parent 7dc10342af
commit 65562cda09
10 changed files with 22829 additions and 18725 deletions

View file

@ -81,6 +81,10 @@ export default {
},
alignOverlay() {
DomHandler.absolutePosition(this.$refs.container, this.target);
if (DomHandler.getOffset(this.$refs.container).top < DomHandler.getOffset(this.target).top) {
DomHandler.addClass(this.$refs.container, 'p-overlaypanel-flipped');
}
},
bindOutsideClickListener() {
if (!this.outsideClickListener) {