State Change Event

2018-01-09 Thread bilbosax
I'm looking for help finding the right event to listen for, if there actually is one. My application has several states, with a custom component that displays in each of the individual states. In one of the components, I have a webview that shows a google map with a list next to it. Webviews are

Re: State Change Event

2018-01-09 Thread bilbosax
I don't know if this how anybody else would do it, but it seems to be working at this point. I have a list in the state that I am moving to from the state that contains the map. I listen to the updateComplete event on the list, and when that fires, I dispatch an event that hides the map. This ha

Re: State Change Event

2018-01-09 Thread OmPrakash Muppirala
I was going to suggest using the `updateComplete` event. Looks like you did the same :-) Thanks, Om On Tue, Jan 9, 2018 at 2:23 PM, bilbosax wrote: > I don't know if this how anybody else would do it, but it seems to be > working > at this point. I have a list in the state that I am moving to

Re: State Change Event

2018-01-09 Thread Erik J. Thomas
Yes, I frequently listen for updateComplete event to hide a spinner showing busy states, especially if the lists are long and use complex item renderers, anything that makes them slow to update onscreen. It's reliable if (and only if) you have records in the underlying dataProvider. I found thro