mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
11 lines
239 B
JavaScript
11 lines
239 B
JavaScript
import {NgElement, Decorator} from 'angular2/angular2'
|
|
|
|
@Decorator({
|
|
selector: 'ion-icon,ionicon,icon'
|
|
})
|
|
export class Icon {
|
|
constructor(@NgElement() ngEle:NgElement) {
|
|
ngEle.domElement.setAttribute('aria-hidden', 'hidden')
|
|
}
|
|
}
|