{"_id":"jquery.fullscreen","_rev":"4-b5f457202d3de4a7ac700c8075e1c3b3","name":"jquery.fullscreen","description":"jQuery plugin for showing any DOM element on a page in fullscreen mode","dist-tags":{"latest":"0.6.0"},"versions":{"0.5.1":{"name":"jquery.fullscreen","version":"0.5.1","description":"jQuery plugin for showing any DOM element on a page in fullscreen mode","main":"release/jquery.fullscreen.min.js","directories":{"example":"examples","test":"tests"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/private-face/jquery.fullscreen.git"},"keywords":["jquery-plugin","fullscreen","ui","firefox","webkit","chrome","safari","opera","IE"],"author":{"name":"Vladimir Zhuravlev"},"license":"MIT","bugs":{"url":"https://github.com/private-face/jquery.fullscreen/issues"},"homepage":"https://github.com/private-face/jquery.fullscreen","devDependencies":{"grunt":"^0.4.5","grunt-contrib-uglify":"^0.6.0","grunt-contrib-watch":"^0.6.1"},"gitHead":"6103df860beeead1239a136ee187f7bcdee13cbb","_id":"jquery.fullscreen@0.5.1","_shasum":"a01571de529ea9a349976065456f518de4dc3dd4","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"private_face","email":"private.face@gmail.com"},"dist":{"shasum":"a01571de529ea9a349976065456f518de4dc3dd4","tarball":"https://registry.npmjs.org/jquery.fullscreen/-/jquery.fullscreen-0.5.1.tgz","integrity":"sha512-w56oXMLQUthr29fBjVRzVKWtXAS97g5fzOppHgVgmnO5D8gB26ZIe91O48wABU5inCP8CS3WQFuJuEGHmoLMUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAvzUmmEE9JbtM1NNtyGSMxQsMPlVH9vEpcEtudm/hD5AiBx/OkuQZZCTkkGPaLxRSSb0WgipyaOPoRvvbe3ABAXpw=="}]},"maintainers":[{"name":"private_face","email":"private.face@gmail.com"}]},"0.6.0":{"name":"jquery.fullscreen","version":"0.6.0","description":"jQuery plugin for showing any DOM element on a page in fullscreen mode","main":"release/jquery.fullscreen.min.js","directories":{"example":"examples","test":"tests"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/private-face/jquery.fullscreen.git"},"keywords":["jquery-plugin","fullscreen","ui","firefox","webkit","chrome","safari","opera","IE"],"author":{"name":"Vladimir Zhuravlev"},"license":"MIT","bugs":{"url":"https://github.com/private-face/jquery.fullscreen/issues"},"homepage":"https://github.com/private-face/jquery.fullscreen","devDependencies":{"grunt":"^0.4.5","grunt-contrib-uglify":"^0.6.0","grunt-contrib-watch":"^0.6.1"},"gitHead":"0bed61d98bc6c56589d3161b48b636385693b376","_id":"jquery.fullscreen@0.6.0","_shasum":"97711106e96eb6395147b608e64dd706d36424ad","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"private_face","email":"private.face@gmail.com"},"dist":{"shasum":"97711106e96eb6395147b608e64dd706d36424ad","tarball":"https://registry.npmjs.org/jquery.fullscreen/-/jquery.fullscreen-0.6.0.tgz","integrity":"sha512-MHw8XbVec4BUnfwx4w5hV3/EgSw+dJz5vm2kbEC9zGoB4NKnrh9v67GQfUNghQYKAaBfYWg+AXRwQecLNSbO7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBtNstWzkMPlBogcJbp5oCiNFrpaSpDafwa0Ol3X/DwTAiEAn0YcBK7iRqr5txTIgepdRD1oF8pzO9yD+t715hAoSjQ="}]},"maintainers":[{"name":"private_face","email":"private.face@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/jquery.fullscreen-0.6.0.tgz_1472061946516_0.29291575285606086"}}},"readme":"# jQuery.fullscreen\n\njQuery Fullscreen plugin allows you to open any element on a page in fullscreen mode without using Flash in all modern browsers (Firefox, IE, Chrome, Safari, Opera). If this feature is not supported by the browser then element will be just stretched to fit the screen without switching to fullscreen.\n\n[Fullscreen API](http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#api) is natively supported in Chrome 15+, Safari 5.1+, Firefox 10+, Opera 12.1+ and IE 11. It is also present in Firefox 9.0, but it is disabled by default. You can be enable it by setting `fullscreen-api.enabled` to `true` in `about:config`.\n\n## Usage\n\n### Request/exit fullscreen\n\n```html\n<div id=\"some_selector\">\n    Block to be displayed in fullscreen.\n</div>\n\n<script>\n    // open element in fullscreen\n    $('#some_selector').fullscreen(options);\n    // close fullscreen\n    $.fullscreen.exit();\n</script>\n```\n\nCurrently the following options are supported:\n* `overflow {'hidden'}`: 'overflow' css-property, which is set to an element when it is being opened in fullscreen;\n* `toggleClass {null}`: class name which is toggled when an element changes its 'fullscreen' state;\n\n### $.fullscreen object methods\n\n* `$.fullscreen.open(element[, options])`: equivalent to `$(element).fullscreen(options)`;\n* `$.fullscreen.exit()`: exit fullscreen mode;\n* `$.fullscreen.isNativelySupported() {true|false}`: returns `true` if browser supports Fullscreen API natively;\n* `$.fullscreen.isFullScreen() {true|false}`: returns `true` if there is an element opened in fullscreen.\n\n### Events\n\n#### fscreenchange\n\n`fscreenchange` event is sent to `window.document` when some element on the page changes its 'fullscreen' state. Three parameters are passed to an event's handler:\n* jQuery.Event object\n* fullscreen state (true or false)\n* Element\n\n#### fscreenopen/fscreenclose\n\n`fscreenopen` and `fscreenclose` events are sent to an element when it's being opened in fullscreen (or exited fullscreen mode).\n\n#### fscreenerror\n\n`fscreenerror` event is fired on the @document@ if requested fullscreen operation could not be performed. \n\n## Security notes\n\nDue to security reasons, calls like `$(...).fullscreen()`, `$.fullscreen.open()`, and `$.fullscreen.close()` are allowed only inside *user generated event* (such as click, keydown, etc...). This means that the following code will not work:\n```js\n$(function() {\n    $('body').fullscreen();\n});\n```\nbecause fullscreen here is called directly without any action from user.\n\n## Browser support\n\n### Native\n\n* Firefox 10+\n* Chrome 15+\n* Safari 5.1+\n* Opera 12.1+\n* Internet Explorer 11\n\n### Fallback\n\n* IE 8–10 (Should work in IE7 as well, perhaps with some minor issues)\n\n## Read more\n\n* [FullScreen API Editor's Draft](http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#api)\n* [MDN – Using full-screen mode](https://developer.mozilla.org/en/DOM/Using_full-screen_mode)\n\n## License\n\n### MIT License\n\nCopyright (c) 2016 Vladimir Zhuravlev\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","maintainers":[{"name":"private_face","email":"private.face@gmail.com"}],"time":{"modified":"2022-06-19T05:20:20.230Z","created":"2015-06-15T16:35:47.004Z","0.5.1":"2015-06-15T16:35:47.004Z","0.6.0":"2016-08-24T18:05:48.575Z"},"homepage":"https://github.com/private-face/jquery.fullscreen","keywords":["jquery-plugin","fullscreen","ui","firefox","webkit","chrome","safari","opera","IE"],"repository":{"type":"git","url":"git+https://github.com/private-face/jquery.fullscreen.git"},"author":{"name":"Vladimir Zhuravlev"},"bugs":{"url":"https://github.com/private-face/jquery.fullscreen/issues"},"license":"MIT","readmeFilename":"README.md"}