mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(slide-toggle): fix runtime exception for incorrect mousedown binding. (#828)
* Commit fad4ef5 made all internal functions prefixed with an underscore.
The commit did accidentally miss to add the underscore the `(mousedown)` host binding function, which
causes a Runtime Exception now.
This commit is contained in:
committed by
Jeremy Elbourn
parent
fad4ef593f
commit
bbbc87f519
@@ -39,7 +39,7 @@ let nextId = 0;
|
||||
'[class.md-disabled]': 'disabled',
|
||||
// This md-slide-toggle prefix will change, once the temporary ripple is removed.
|
||||
'[class.md-slide-toggle-focused]': '_hasFocus',
|
||||
'(mousedown)': 'setMousedown()'
|
||||
'(mousedown)': '_setMousedown()'
|
||||
},
|
||||
templateUrl: 'slide-toggle.html',
|
||||
styleUrls: ['slide-toggle.css'],
|
||||
|
||||
Reference in New Issue
Block a user