Comments (7)
it works only in single page ?
from vue-fullscreen.
It's closed by the browser, try to use iframe
.
Note: Navigating to another page, changing tabs, or switching to another application using any application switcher (or Alt-Tab) will likewise exit full-screen mode.
https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API
from vue-fullscreen.
It's closed by the browser, try to use
iframe
.Note: Navigating to another page, changing tabs, or switching to another application using any application switcher (or Alt-Tab) will likewise exit full-screen mode.
https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API
有没有什么例子能给我借鉴一下的吗?怎么用上 <iframe />
from vue-fullscreen.
It's closed by the browser, try to use
iframe
.Note: Navigating to another page, changing tabs, or switching to another application using any application switcher (or Alt-Tab) will likewise exit full-screen mode.
https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API
有没有什么例子能给我借鉴一下的吗?怎么用上
<iframe />
https://codepen.io/mirari/pen/VwjyKPL
codepen的预览自己就在iframe里,所以例子两种方式都不会退出全屏
from vue-fullscreen.
It's closed by the browser, try to use
iframe
.Note: Navigating to another page, changing tabs, or switching to another application using any application switcher (or Alt-Tab) will likewise exit full-screen mode.
https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API
有没有什么例子能给我借鉴一下的吗?怎么用上
<iframe />
https://codepen.io/mirari/pen/VwjyKPL
codepen的预览自己就在iframe里,所以例子两种方式都不会退出全屏
谢谢!那除了iframe还有没有别的方法呢?我的网站(Nuxt Vue)已经全部搭建好了 加上iframe的话要改的东西太多了…有没有别的路子?
from vue-fullscreen.
It's closed by the browser, try to use
iframe
.Note: Navigating to another page, changing tabs, or switching to another application using any application switcher (or Alt-Tab) will likewise exit full-screen mode.
https://developer.mozilla.org/en-US/docs/Web/API/Fullscreen_API
有没有什么例子能给我借鉴一下的吗?怎么用上
<iframe />
https://codepen.io/mirari/pen/VwjyKPL
codepen的预览自己就在iframe里,所以例子两种方式都不会退出全屏
而且我的印象里iframe都是用来取别的网页,总不能把网页全部包在iframe里面吧 不可行的呀
from vue-fullscreen.
就是把网页全部包在iframe里面,外层就是一个简单的壳,只负责显示内部内容。这模式也不少见,很多H5游戏都是套了好几层的iframe。
我想不到别的方法了,这是浏览器策略。
from vue-fullscreen.
Related Issues (20)
- 建议把点击就退出的功能在option中加一个开关 HOT 2
- Compile vue-fullscreen with application HOT 6
- iPhone Full Screen doesnot work HOT 2
- Compatibility with Jest HOT 2
- Are there plans to support VUE3 HOT 9
- window.onscroll does not work in fullscreen mode HOT 1
- 全屏下的input聚焦输入时会退出全屏怎么处理 HOT 2
- Failed when publish HOT 1
- antv x6的拖拽wrapper和 elementui 的message弹框依旧会被盖住哦 HOT 3
- 全屏元素含iframe时,teleport设置为啥都有bug HOT 6
- Component does not destroy its childrem when Unmount HOT 1
- vue 转 app 返回时会退出全屏 HOT 1
- Retain fullscreen on redirect HOT 2
- Failed to execute 'insertBefore' on 'Node': The new child element contains the parent HOT 2
- Do not work on iOS HOT 1
- 如何快速给element-ui的组件添加右上角全屏显示图标按钮和功能?
- Feature request: exit manually HOT 12
- vue3注册插件时报错 HOT 2
- Vue3.main.js 组件注册,抛出error HOT 1
- Inconsistent licensing HOT 1
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 vue-fullscreen.