ionic-framework
Version:
The ionic-framework package comes with both Javascript and Sass frontend dependencies, located in the root of the package, and a Node API, located in `tooling/`.
12 lines (10 loc) • 323 B
JavaScript
import {Directive, ElementRef} from 'angular2/angular2';
({
properties: ['<%= fileName %>'], //Change to be whatever properties you want, ex: <<%= fileName %> value="5">
inputs: ['<%= fileName %>']
})
export class <%= jsClassName %> {
constructor(elementRef: ElementRef) {
this.ele = elementRef;
}
}