首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
V2EX
›
Notion
Notion 网站上的这种 macOS App 窗口是怎么做的?
Livid
·
10 天前
· 986 次点击
在这个 Design System 页面上出现的截图里,这种类似 PWA 但是应该不是 PWA 的 macOS App 窗口,有同学知道是怎么可以做出来么?
https://www.notion.so/Design-System-5c50a5b4e9404ffd9975d9521cf4d571
pwa
macOS
App
窗口
1 条回复
•
2021-01-05 12:53:27 +08:00
1
unstop
10 天前
1
这就是 Notion 自己的,基于 Electron 的 macOS App 的录屏吧。
用 Electron 的 hiddenInset window 就是这个效果:
https://www.electronjs.org/docs/api/frameless-window#hiddeninset
关于
·
帮助文档
·
FAQ
·
API
·
我们的愿景
·
广告投放
·
感谢
·
实用小工具
·
1229 人在线
最高记录 5298
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 23:40 · PVG 07:40 · LAX 15:40 · JFK 18:40
♥ Do have faith in what you're doing.