Merge branch 'master' of https://github.com/primefaces/primevue
commit
33069cc26c
|
@ -50,6 +50,11 @@ export default {
|
||||||
this.unbindOutsideClickListener();
|
this.unbindOutsideClickListener();
|
||||||
this.unbindDocumentContextMenuListener();
|
this.unbindDocumentContextMenuListener();
|
||||||
},
|
},
|
||||||
|
mounted() {
|
||||||
|
if (this.global) {
|
||||||
|
this.bindDocumentContextMenuListener();
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
itemClick(event) {
|
itemClick(event) {
|
||||||
const item = event.item;
|
const item = event.item;
|
||||||
|
@ -89,10 +94,6 @@ export default {
|
||||||
this.bindOutsideClickListener();
|
this.bindOutsideClickListener();
|
||||||
this.bindResizeListener();
|
this.bindResizeListener();
|
||||||
|
|
||||||
if (this.global) {
|
|
||||||
this.bindDocumentContextMenuListener();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.autoZIndex) {
|
if (this.autoZIndex) {
|
||||||
this.$refs.container.style.zIndex = String(this.baseZIndex + DomHandler.generateZIndex());
|
this.$refs.container.style.zIndex = String(this.baseZIndex + DomHandler.generateZIndex());
|
||||||
}
|
}
|
||||||
|
@ -100,10 +101,6 @@ export default {
|
||||||
onLeave() {
|
onLeave() {
|
||||||
this.unbindOutsideClickListener();
|
this.unbindOutsideClickListener();
|
||||||
this.unbindResizeListener();
|
this.unbindResizeListener();
|
||||||
|
|
||||||
if (this.global) {
|
|
||||||
this.unbindDocumentContextMenuListener();
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
position() {
|
position() {
|
||||||
let left = this.pageX + 1;
|
let left = this.pageX + 1;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<div role="progressbar" :class="containerClass" :aria-valuemin="0" :aria-valuenow="value" :aria-valuemax="100">
|
<div role="progressbar" :class="containerClass" :aria-valuemin="0" :aria-valuenow="value" :aria-valuemax="100">
|
||||||
<div v-if="determinate" class="p-progressbar-value p-progressbar-value-animate" :style="progressStyle"></div>
|
<div v-if="determinate" class="p-progressbar-value p-progressbar-value-animate" :style="progressStyle"></div>
|
||||||
<div v-if="determinate && value" class="p-progressbar-label">{{value + '%'}}</div>
|
<div v-if="determinate && value && showValue" class="p-progressbar-label">{{value + '%'}}</div>
|
||||||
<div v-if="indeterminate" class="p-progressbar-indeterminate-container">
|
<div v-if="indeterminate" class="p-progressbar-indeterminate-container">
|
||||||
<div class="p-progressbar-value p-progressbar-value-animate"></div>
|
<div class="p-progressbar-value p-progressbar-value-animate"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue