项目
在 GitHub 查看
zachleat/browser-window
关于
Used in demos as a way to fake a Safari-esque web browser window.
效率与自动化实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文browser-window
A small themed zero-dependency Web Component for demos with a fake browser window (Safari-esque).
“this is maybe my favoritest [web component] yet.”—Dave Rupert, President of Web Components
Installation
Via npm or download browser-window.js directly for use in your project.
npm install @zachleat/browser-window
Changelog
v3.2.0urlaccepts a root-relative path (url="/post1/"), shown as-is.v3.1.0adds an opt-infillattribute so the window fills the height of a stretched flex or grid item.v3.0.0swaps to uselight-darkandcolor-schemefor easier light/dark mode configuration! This has browser support implications!v2.0.0URL bar now shows the full url by default (including pathname, searchParams, et al). Useurl-mode="hostname-only"to swap back to previous behavior.
探索相关项目
加载中…