Comments (3)
Hi miliu,
The directive only provides a wrapper of the fullscreen api and the layout depends from your css.
Anyway I'm using it right now with angular-carousel to enable fullscreen to whole the gallery.
I had a similar problem with the images so I added some css classes in order to update the container size when fullscreen.
Something link this might help you
.my_slider {
width: 450px;
height: 300px;
}
.my_slider:-webkit-full-screen {
width: 100% !important;
height: 100% !important;
}
.my_slider:-moz-full-screen {
width: 100% !important;
height: 100% !important;
}
.my_slider:-ms-full-screen {
width: 100% !important;
height: 100% !important;
}
.my_slider:-o-full-screen {
width: 100% !important;
height: 100% !important;
}
.my_slider:full-screen{
width: 100% !important;
height: 100% !important;
}
from angular-fullscreen.
Your css does help! This is great. Thank you very much!
from angular-fullscreen.
cool.. glad to help you! : )
from angular-fullscreen.
Related Issues (20)
- Publish new version to bower HOT 3
- Support installs via NPM HOT 2
- make subelement go fullscreen HOT 1
- Change FBAngular to just fullscreen
- Portability HOT 3
- Demo appear broken in safari HOT 3
- Chrome problem
- scroll-bar missing in IE 11
- Problem with IE 11 HOT 3
- An error occurs. If you use the requirejs. HOT 2
- doesnt work on mobile devices.
- Does not work on Safari 9
- pressing ESC does not call the function goFullscreen() while exiting HOT 2
- Add to bower HOT 1
- Emitting from $rootScope HOT 1
- Disable Fullscreen on Double Click
- if I press the f11 key, with the maximize or minimize button, it no longer works
- This is for Angular js, not Angular
- Broken for Chrome 71 because of changes on webkitRequestFullscreen
- fullscreen
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular-fullscreen.