mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
* docs(input): fix typo * docs(scroll): add note about required CSS for scrollY * docs(config): add swipeBackEnabled to config properties list * docs(component generator): fix broken link in template comment * docs(directive generator): fix broken link in template comment
18 lines
445 B
JavaScript
18 lines
445 B
JavaScript
import { Component } from '@angular/core';
|
|
|
|
/*
|
|
Generated class for the <%= jsClassName %> component.
|
|
|
|
See https://angular.io/docs/ts/latest/api/core/index/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';
|
|
}
|
|
}
|