mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
16 lines
459 B
JavaScript
16 lines
459 B
JavaScript
import {For, Ancestor, Descendent, Parent, NgElement, Component, View, bootstrap} from 'angular2/angular2';
|
|
import {Content, Nav, NavPane, List, Item} from 'ionic/ionic';
|
|
|
|
import {HackerNews} from 'hn'
|
|
|
|
@Component({ selector: 'top-stories' })
|
|
@View({
|
|
templateUrl: 'pages/top.html',
|
|
directives: [Content, For, List, Item]
|
|
})
|
|
export class HNSinglePost {
|
|
constructor(@Parent() viewport: Nav) {//, @Ancestor() app: HNApp) {
|
|
console.log('SINGLE');
|
|
}
|
|
}
|