W3cubDocs

/Dart 2

requestFullscreen method

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

Displays this element fullscreen.

Other resources

Implementation

@JSName('webkitRequestFullscreen')
/**
 * Displays this element fullscreen.
 *
 * ## Other resources
 *
 * * [Using the fullscreen
 *   API](http://docs.webplatform.org/wiki/tutorials/using_the_full-screen_api)
 *   tutorial from WebPlatform.org.
 * * [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.dartlang.org/stable/2.0.0/dart-html/Element/requestFullscreen.html