mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
18 lines
437 B
TypeScript
18 lines
437 B
TypeScript
import {Component} from '@angular/core';
|
|
|
|
/*
|
|
Generated class for the <%= jsClassName %> component.
|
|
|
|
See https://angular.io/docs/ts/latest/api/core/ComponentMetadata-class.html
|
|
for more info on Angular 2 Components.
|
|
*/
|
|
@Component({
|
|
selector: '<%= fileName %>',
|
|
templateUrl: 'build/<%= directory %>/<%= fileName %>/<%= fileName %>.html'
|
|
})
|
|
export class <%= jsClassName %> {
|
|
constructor() {
|
|
this.text = 'Hello World';
|
|
}
|
|
}
|