Refactor #4211 - For SpeedDial
parent
18d4c453bd
commit
d13357356b
|
@ -112,6 +112,11 @@ export interface SpeedDialContext {
|
||||||
* @defaultValue false
|
* @defaultValue false
|
||||||
*/
|
*/
|
||||||
active: boolean;
|
active: boolean;
|
||||||
|
/**
|
||||||
|
* Current hidden state of menuitem as a boolean.
|
||||||
|
* @defaultValue false
|
||||||
|
*/
|
||||||
|
hidden: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -111,7 +111,8 @@ export default {
|
||||||
getPTOptions(id, key) {
|
getPTOptions(id, key) {
|
||||||
return this.ptm(key, {
|
return this.ptm(key, {
|
||||||
context: {
|
context: {
|
||||||
active: this.isItemActive(id)
|
active: this.isItemActive(id),
|
||||||
|
hidden: !this.d_visible
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue