File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 6
6
[attr.name] ="name || null "
7
7
[attr.aria-label] ="ariaLabel "
8
8
[attr.aria-labelledby] ="ariaLabelledby "
9
- (click) ="_onButtonClick($event ) ">
9
+ (click) ="_onButtonClick() ">
10
10
< div class ="mat-button-toggle-label-content ">
11
11
< ng-content > </ ng-content >
12
12
</ div >
Original file line number Diff line number Diff line change @@ -436,9 +436,7 @@ export class MatButtonToggle extends _MatButtonToggleMixinBase implements OnInit
436
436
}
437
437
438
438
/** Checks the button toggle due to an interaction with the underlying native button. */
439
- _onButtonClick ( event : Event ) {
440
- event . stopPropagation ( ) ;
441
-
439
+ _onButtonClick ( ) {
442
440
const newChecked = this . _isSingleSelector ? true : ! this . _checked ;
443
441
444
442
if ( newChecked !== this . _checked ) {
You can’t perform that action at this time.
0 commit comments