Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Event "orientationchange" it's triggered once (occurs one time)

$
0
0

@poliveira wrote:

I have defined a callback to react every time a device is rotated.
And to debug this behaviour I publish "log messages" on the UI. And that messages inside the EventListener callback are executed once, no matter how many time I rotate my device.

I have created a example, look: http://play.ionic.io/app/22fc080b44da
I expect to see the messages repeated triggered by the Event.

What is not working as expected?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>