mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
update to use host
This commit is contained in:
@ -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]
|
||||
|
Reference in New Issue
Block a user