onRotate

occurs on screen rotating

void onRotate(boolean orientation);
orientationbooleantrue - landscape, false - portrait

Example

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

Back to top