I've implemented a chat using Ionic2 with pubnub, the thing is how can I implement the isTyping
to show it on my html
? I know I have to create a state
on my user, but I don't know how to update it.
My pubnub service
have differents methods, and I thought I could add a PubNubEventType
that it's called TYPING
but I don't know how to update it from my component (where I have the chat implemented)
This is my component
...
Any ideas?