mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
19 lines
332 B
TypeScript
19 lines
332 B
TypeScript
import {IonicView, NavController, NavParams} from 'ionic/ionic';
|
|
|
|
import {HackerNews} from '../hn'
|
|
|
|
|
|
@IonicView({
|
|
templateUrl: 'pages/single.html'
|
|
})
|
|
export class HNSinglePost {
|
|
constructor(
|
|
nav: NavController,
|
|
params: NavParams
|
|
) {
|
|
this.nav = nav;
|
|
this.post = params;
|
|
console.log('SINGLE', params);
|
|
}
|
|
}
|