是否可以将桌面PWA设置为“始终位于顶部"?其他应用程序? [英] Can a desktop PWA be set as "always on top" of other applications?

查看:79
本文介绍了是否可以将桌面PWA设置为“始终位于顶部"?其他应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Vuejs中使用PWA开发了一个计数器,并且我希望始终将其放在台式机上,这可能吗?我一直在做一些研究,什么都没找到.

谢谢.

FYI:这是一种基于Pomodoro技术的生产率方法,但计时器为55'而不是25'.如果您想了解更多信息,请在

解决方案

进行一些挖掘之后,我采用的解决方法是启用手动创建的自定义< Picture in Picture> 画布,请参见这里的例子: https://codepen.io/BoyWithSilverWings/pen/qBEwrbJ

I have developed a counter in Vuejs with PWA and I want to keep it always on top for desktop, is this possible?. I have been doing some research and found nothing yet.

Thanks.

FYI: It is a productivity method based on the technique of Pomodoro but with timers of 55' instead of 25'. If you want to know more about it I have written a post in medium.

解决方案

After some digging, a workaround I came with was to enable a custom <Picture in Picture> canvas created by hand, see example here: https://codepen.io/BoyWithSilverWings/pen/qBEwrbJ

这篇关于是否可以将桌面PWA设置为“始终位于顶部"?其他应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆