mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Refactor #4190 - For Menu
This commit is contained in:
parent
b89643cef1
commit
fd326c4d8d
3 changed files with 13 additions and 2 deletions
|
@ -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()
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue