File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,13 @@ Other modules in your application like for lazy loading import ` MatSelectCountr
129129| disabled | ` Input() ` | ` boolean ` | ` false ` | Whether the component is disabled
130130| onFabMenuItemSelected | ` Output() ` | ` EventEmitter<string | number> ` | - | emits the selected button by id
131131
132+ ### Methods
133+
134+ ``` typescript
135+ @ViewChild (' matFabMenu' , { static: false }) matFabMenu : MatFabMenu ;
136+ ```
137+
138+ ` toggle() ` will toggle the ` isActive ` property
132139
133140Important interfaces or type
134141
Original file line number Diff line number Diff line change @@ -92,4 +92,8 @@ export class MatFabMenuComponent implements OnInit, OnChanges {
9292 break ;
9393 }
9494 }
95+
96+ toggle ( ) {
97+ this . isActive = ! this . isActive ;
98+ }
9599}
You can’t perform that action at this time.
0 commit comments