Documentation

onRotate

occurs on screen rotating

void onRotate(boolean orientation ){ ... };

Parameters

orientation booleantrue - landscape, false - portrait

Example

webix.attachEvent("onRotate", function(orientation){
    //your code here
});

Back to top