mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
12 lines
323 B
JavaScript
12 lines
323 B
JavaScript
import {Directive, ElementRef} from 'angular2/angular2';
|
|
|
|
@Directive({
|
|
properties: ['<%= fileName %>'], //Change to be whatever properties you want, ex: <<%= fileName %> value="5">
|
|
inputs: ['<%= fileName %>']
|
|
})
|
|
export class <%= jsClassName %> {
|
|
constructor(elementRef: ElementRef) {
|
|
this.ele = elementRef;
|
|
}
|
|
}
|