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