We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7428ca5 commit da3d1adCopy full SHA for da3d1ad
1 file changed
src/pages/messages/messages.ts
@@ -0,0 +1,21 @@
1
+import { Component, OnInit } from '@angular/core';
2
+import { NavParams } from 'ionic-angular';
3
+import { Chat } from 'api/models';
4
+
5
+@Component({
6
+ selector: 'messages-page',
7
+ template: `Messages Page`
8
+})
9
+export class MessagesPage implements OnInit {
10
+ selectedChat: Chat;
11
12
+ constructor(navParams: NavParams) {
13
+ this.selectedChat = <Chat>navParams.get('chat');
14
15
+ console.log('Selected chat is: ', this.selectedChat);
16
+ }
17
18
+ ngOnInit() {
19
20
21
+}
0 commit comments