requestFullscreen method

  1. @JSName('webkitRequestFullscreen')
  2. @SupportedBrowser(SupportedBrowser.CHROME)
  3. @SupportedBrowser(SupportedBrowser.SAFARI)
void requestFullscreen ()
@JSName('webkitRequestFullscreen'), @SupportedBrowser(SupportedBrowser.CHROME), @SupportedBrowser(SupportedBrowser.SAFARI)

Displays this element fullscreen.

Other resources

Implementation

@JSName('webkitRequestFullscreen')
/**
 * Displays this element fullscreen.
 *
 * ## Other resources
 *
 * * [Fullscreen
 *   API](https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API)
 *   from MDN.
 * * [Fullscreen specification](http://www.w3.org/TR/fullscreen/) from W3C.
 */
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.SAFARI)
void requestFullscreen() native;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-html/Element/requestFullscreen.html