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:
Paul Gschwendtner
2016-07-07 23:03:27 +02:00
committed by Jeremy Elbourn
parent fad4ef593f
commit bbbc87f519
+1 -1
View File
@@ -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'],