1
In my mobile application (programmed in Javascript), I have a function that is activated when the display orientation is changed.
$( window ).on( "orientationchange", function( event ) {
...
}
I, even before this function is activated, would like to have another function to store values and stuff. Like: $( window ).before( "orientationchange",...
.
Is there any way to do that?
Take a look at this: https://github.com/evaldsurtans/jquery.beforeorientationchange
– Sergio