iOS 7+ and Android 2.1+ (except 3.x)
<script src="//naver.github.io/egjs-rotate/release/latest/dist/rotate.min.js"></script>
import Rotate from "@egjs/rotate";
var handler = function(event, info) {
...
};
// bind rotate event
eg.rotate.on(handler);
// unbind rotate event
eg.rotate.off(handler);
// or unbind all the rotate event binds
eg.rotate.off();