Is there any way to get the before orientation change?

1

In my mobile application (scheduled in JavaScript ), I have a function that is enabled when the screen orientation changes.

  $( window ).on( "orientationchange", function( event ) {
     ...
   }

I, even before this function was activated, I would like to have another function to store values and so on. Type: $( window ).before( "orientationchange",... .

Is there any way to do this?

    
asked by anonymous 25.06.2015 / 10:51

0 answers