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

wired-toggle not displaying #200

Open
Reptartheman opened this issue Jan 9, 2025 · 0 comments
Open

wired-toggle not displaying #200

Reptartheman opened this issue Jan 9, 2025 · 0 comments

Comments

@Reptartheman
Copy link

When I try to use the wired-toggle element, it does not display and I am getting a error in the console... more details below...

<script type="module" src="https://unpkg.com/wired-elements?module"></script>

^^^ When I run that by it self, all of my other wired-elements show up on my app besides the wired-toggle. In my dev tools it just shows up as a standard HTML element with no shadow-root...

<script type="module" src="https://unpkg.com/wired-elements/lib/wired-toggle.js?module"></script>

^^^^ Adding that to my HTML gives the wired-toggle a shadow-root but still does not display on the page, and it even moves other elements out of the natural flow of the page...

The error in the console is below.

console_error
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

1 participant