onRotate

occurs on screen rotating

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

Parameters

orientationbooleantrue - landscape, false - portrait

Example

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

Back to top