fix(toggle): host listeners are not longer needed

This commit is contained in:
Manu Mtz.-Almeida
2016-06-22 18:32:28 +02:00
parent 6e34739249
commit 4aa322d33b

View File

@ -64,13 +64,6 @@ const TOGGLE_VALUE_ACCESSOR = new Provider(
'[attr.aria-checked]="_checked" ' +
'[attr.aria-labelledby]="_labelId" ' +
'[attr.aria-disabled]="_disabled" ' +
'(touchstart)=pointerDown($event) ' +
'(touchmove)=pointerMove($event) ' +
'(mousemove)=pointerMove($event) ' +
'(mousedown)=pointerDown($event) ' +
'(touchend)=pointerUp($event) ' +
'(mouseup)=pointerUp($event) ' +
'(mouseout)=pointerUp($event) ' +
'class="item-cover">' +
'</button>',
host: {