Projets
Voir sur GitHub
zachleat/browser-window
À propos
Used in demos as a way to fake a Safari-esque web browser window.
Productivité et automatisationProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Originalbrowser-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.
Explorer des projets similaires
Chargement…