javascriptwindows-8dom-eventswinjs

onpagechanged for flipview (winjs)


I would like to know if the flipview control of the winjs library (win8) has got an event, which it called when the page turns, no matter if by keyboard or by mouseclick or swiping?

I was Googling for it, but i could just find other methods which does not fire at the right moment.

is there maybe a way you can make such events?


Solution

  • You should use the onpagechanged event. This will fire when the user switches pages no matter the mechanism.