Refactor #4190 - For Menu

This commit is contained in:
Tuğçe Küçükoğlu 2023-07-25 12:11:23 +03:00
parent b89643cef1
commit fd326c4d8d
3 changed files with 13 additions and 2 deletions

View file

@ -47,7 +47,8 @@ export default {
templates: null,
exact: null,
id: null,
focusedOptionId: null
focusedOptionId: null,
index: null
},
methods: {
getItemProp(processedItem, name) {
@ -56,6 +57,8 @@ export default {
getPTOptions(key) {
return this.ptm(key, {
context: {
item: this.item,
index: this.index,
focused: this.isItemFocused()
}
});