diff --git a/components/lib/speeddial/SpeedDial.d.ts b/components/lib/speeddial/SpeedDial.d.ts index 91248b323..0fbe2516d 100644 --- a/components/lib/speeddial/SpeedDial.d.ts +++ b/components/lib/speeddial/SpeedDial.d.ts @@ -112,6 +112,11 @@ export interface SpeedDialContext { * @defaultValue false */ active: boolean; + /** + * Current hidden state of menuitem as a boolean. + * @defaultValue false + */ + hidden: boolean; } /** diff --git a/components/lib/speeddial/SpeedDial.vue b/components/lib/speeddial/SpeedDial.vue index f895ba05d..95e682e09 100644 --- a/components/lib/speeddial/SpeedDial.vue +++ b/components/lib/speeddial/SpeedDial.vue @@ -111,7 +111,8 @@ export default { getPTOptions(id, key) { return this.ptm(key, { context: { - active: this.isItemActive(id) + active: this.isItemActive(id), + hidden: !this.d_visible } }); },