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