Activator: activated

This commit is contained in:
Adam Bradley
2015-09-08 23:05:26 -05:00
parent 1b1d91661c
commit f0cb0a8de0
10 changed files with 342 additions and 276 deletions

View File

@@ -23,6 +23,7 @@ import {pointerCoord} from '../../util/dom';
@Directive({
selector: '.media-switch',
host: {
'tappable': 'true',
'(^touchstart)': 'swtch.pointerDown($event)',
'(^mousedown)': 'swtch.pointerDown($event)',
'[class.activated]': 'swtch.isActivated'