Namespace cc.screen

Method Summary

Method Detail

  • autoFullScreen(element, onFullScreenChange)
    Automatically request full screen with a touch/click event
    Parameters:
    {Element} element
    {Function} onFullScreenChange
  • exitFullScreen()
    exit the full mode.
  • {Boolean} fullScreen()
    return true if it's full now.
    Returns:
    {Boolean}
  • requestFullScreen(element, onFullScreenChange)
    change the screen to full mode.
    Parameters:
    {Element} element
    {Function} onFullScreenChange