This website works better with JavaScript.
Home
Help
Sign In
heuzef
/
pannellum
mirror of
https://github.com/mpetroff/pannellum.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
22
Wiki
Activity
Browse Source
Add method to API to toggle fullscreen.
pull/131/head
Matthew Petroff
8 years ago
parent
943d29d707
commit
c2da347b66
1 changed files
with
11 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+11
-0
src/js/pannellum.js
+ 11
- 0
src/js/pannellum.js
View File
@@ -1894,6 +1894,17 @@ this.getScene = function() {
return config.scene;
}
/**
* Toggle fullscreen.
* @memberof Viewer
* @instance
* @returns {Viewer} `this`
*/
this.toggleFullscreen = function() {
toggleFullscreen();
return this;
}
}
return {
Write
Preview
Loading…
Cancel
Save