src/ol/control/FullScreen.js
function requestFullScreen(element) {
  if (element.requestFullscreen) {
    element.requestFullscreen();
  } else if (element.msRequestFullscreen) {
    element.msRequestFullscreen();
  } else if (element.webkitRequestFullscreen) {
    element.webkitRequestFullscreen();
  }
}
function requestFullScreen(element) {
  if (element.requestFullscreen) {
    element.requestFullscreen();
  } else if (element.msRequestFullscreen) {
    element.msRequestFullscreen();
  } else if (element.webkitRequestFullscreen) {
    element.webkitRequestFullscreen();
  }
}
function requestFullScreen ( element ) { if ( element . requestFullscreen ) { element . requestFullscreen ( ) ; } else if ( element . msRequestFullscreen ) { element . msRequestFullscreen ( ) ; } else if ( element . webkitRequestFullscreen ) { element . webkitRequestFullscreen ( ) ; } }
Request to fullscreen an element.
@param {HTMLElement} element Element to request fullscreen
Request to fullscreen an element .