Logo
Explore Help
Sign In
honeymoose/angular-cn
1
0
Fork 0
You've already forked angular-cn
Code Issues Pull Requests Packages Projects Releases Wiki Activity
angular-cn/public/docs/_examples/cb-ts-to-js/js-es6/app/hero-lifecycle.component.es6

16 lines
323 B
Plaintext
Raw Normal View History

feat(cb-ts-to-js): add es6 examples update docshredder to shred .es6 optimized focus gulp task convert imports and metadate sections add DI section add host and query metadata section add intro fix capitalization and grammar
2016-10-13 17:59:00 +01:00
// #docregion
import { Component } from '@angular/core';
docs(cb-ts-to-js): refactor sample code
2016-11-13 14:09:28 -08:00
export class HeroComponent {
feat(cb-ts-to-js): add es6 examples update docshredder to shred .es6 optimized focus gulp task convert imports and metadate sections add DI section add host and query metadata section add intro fix capitalization and grammar
2016-10-13 17:59:00 +01:00
ngOnInit() {
docs(cb-ts-to-js): refactor sample code
2016-11-13 14:09:28 -08:00
// todo: fetch from server async
setTimeout(() => this.name = 'Windstorm', 0);
feat(cb-ts-to-js): add es6 examples update docshredder to shred .es6 optimized focus gulp task convert imports and metadate sections add DI section add host and query metadata section add intro fix capitalization and grammar
2016-10-13 17:59:00 +01:00
}
}
HeroComponent.annotations = [
new Component({
selector: 'hero-lifecycle',
template: `<h1>Hero: {{name}}</h1>`
})
];
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.1 Page: 746ms Template: 14ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API