Update Side Menu Ionic 2 dynamically


#1

Hello,

I could not find enough document and tutorials for latest ionic 2. I wanted to update the side menu on success with json response. Could anyone please tell me, how can i update the side menu content dynamically?

Thank you!


#2

As every other component. It is just a normal component.


#3

Yeah, I used the event to update the data in the left hand menu bar. It did the work. Is it the best way or is there any other way to do that?

Thanks


#4

I would say this is the angular way. However i don t know what you mean by “event” in this situation.


#5

I mean using Events as
events.publish(‘user:created’, user);

Do you have any other examples related to this?

Thank you