-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Nicholas Jitkoff edited this page Feb 12, 2024
·
21 revisions
The basic form for a widget.vision link is:
widget-https://example.com
Extra options can be added to the end of a link by adding "#wv?" followed by a query string:
widget-https://example.com#wv?size=400x600
Note that this can follow a standard fragment index.html#about#wv?...
, and will be removed when rendered.
Not all of these options are exposed in the UI, but some may be customized on the backside.
key | value | notes |
---|---|---|
name | string | name for widget |
icon | string | system icon name |
style | string | transparent, glass |
bg | hex | background color |
fg | hex | text color |
tint | hex | tint color |
size | size | base size (300x400) |
min | size | min size |
max | size | max size |
zoom | float | zoom level |
agent | string | user agent, mobile, desktop, or custom |
vw | int | viewport width |
remove | string | css selector for items to remove |
clear | string | css selector for items with transparent background |