Add fullscreen API support to IE11
This commit is contained in:
@@ -36,3 +36,19 @@ DeviceOrientationEvent.prototype.webkitCompassAccuracy;
|
||||
|
||||
/** @type {?number} */
|
||||
DeviceOrientationEvent.prototype.webkitCompassHeading;
|
||||
|
||||
|
||||
// IE 11 fullscreen API
|
||||
// http://msdn.microsoft.com/en-us/library/ie/dn265028(v=vs.85).aspx
|
||||
|
||||
/** @return {void} */
|
||||
Element.prototype.msRequestFullscreen = function() {};
|
||||
|
||||
/** @return {void} */
|
||||
Element.prototype.msExitFullscreen = function() {};
|
||||
|
||||
/** @type {boolean} */
|
||||
Document.prototype.msFullscreenEnabled;
|
||||
|
||||
/** @type {Element} */
|
||||
Document.prototype.msFullscreenElement;
|
||||
|
||||
Reference in New Issue
Block a user