Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static (JS-free) version of the widget #35

Open
captainbrosset opened this issue Nov 5, 2024 · 1 comment
Open

Static (JS-free) version of the widget #35

captainbrosset opened this issue Nov 5, 2024 · 1 comment

Comments

@captainbrosset
Copy link

In #16 (comment), I mentioned that we should investigate ways to offer the baseline widget in a static (JS-less) way too.

See also Baseline status of a web platform feature on a Hugo website, which is somewhat related.

@niutech
Copy link

niutech commented Nov 5, 2024

Here is one implementation using Declarative Shadow DOM: Astro Embed Baseline Status
But making a pure CSS/HTML Baseline Status widget without DSD should be even easier (static HTML snippet to be pasted into HTML document or dynamic URL to be embedded in an <iframe>, no JS).
Another way is to provide a widget as an SVG image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants