Renaming
parent
42fe404816
commit
90132fc104
|
@ -178,7 +178,7 @@ export default {
|
||||||
this.$emit('item-mousemove', { originalEvent: event, processedItem });
|
this.$emit('item-mousemove', { originalEvent: event, processedItem });
|
||||||
},
|
},
|
||||||
getAriaPosInset(index) {
|
getAriaPosInset(index) {
|
||||||
return index - this.ariaPosInsetCompute.slice(0, index).length + 1;
|
return index - this.calculateAriaSetSize.slice(0, index).length + 1;
|
||||||
},
|
},
|
||||||
getMenuItemProps(processedItem, index) {
|
getMenuItemProps(processedItem, index) {
|
||||||
return {
|
return {
|
||||||
|
@ -212,7 +212,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
ariaPosInsetCompute() {
|
calculateAriaSetSize() {
|
||||||
return this.items.filter((processedItem) => this.isItemVisible(processedItem) && this.getItemProp(processedItem, 'separator'));
|
return this.items.filter((processedItem) => this.isItemVisible(processedItem) && this.getItemProp(processedItem, 'separator'));
|
||||||
},
|
},
|
||||||
getAriaSetSize() {
|
getAriaSetSize() {
|
||||||
|
|
Loading…
Reference in New Issue