update to use host

This commit is contained in:
Adam Bradley
2015-06-22 13:05:47 -05:00
parent 43042ed999
commit e81a78e9d6
13 changed files with 46 additions and 59 deletions

View File

@ -7,10 +7,8 @@ import {ElementRef} from 'angular2/src/core/compiler/element_ref';
properties: [
'name'
],
hostProperties: {
'label': 'attr.aria-label'
},
hostAttributes: {
host: {
'[attr.aria-label]': 'label'
'role': 'img'
},
lifecycle: [onInit]