[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/resources/lib/jquery/ -> jquery.fullscreen.js (summary)

jQuery fullscreen plugin v2.0.0-git (9f8f97d127) https://github.com/theopolisme/jquery-fullscreen Copyright (c) 2013 Theopolisme <[email protected]>

File Size: 175 lines (6 kb)
Included or required:0 times
Referenced: 1 time
Includes or requires: 0 files

Defines 3 functions

  handleFullscreenChange()
  enterFullscreen()
  exitFullscreen()

Functions
Functions that are not part of a class:

handleFullscreenChange()   X-Ref
On fullscreenchange, trigger a jq-fullscreen-change event
The event is given an object, which contains the fullscreened DOM element (element), if any
and a boolean value (fullscreen) indicating if we've entered or exited fullscreen mode
Also remove the 'fullscreened' class from elements that are no longer fullscreen


enterFullscreen()   X-Ref
Enters full screen with the "this" element in focus.
Check the .data( 'isFullscreened' ) of the return value to check
success or failure, if you're into that sort of thing.

return: {jQuery}

exitFullscreen()   X-Ref
Brings the "this" element out of fullscreen.
Check the .data( 'isFullscreened' ) of the return value to check
success or failure, if you're into that sort of thing.

return: {jQuery}



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1