Code example for OrientationEventListener

Methods: canDetectOrientationenable