focus-trap
focus-trap copied to clipboard
Update focus-trap.ts
Conditionally calls define of the attribute.
We have a case where we load weightless into lit elements and then using them in an angular project, when loading different elements using weightless this library causes a conflict by trying to define the same custom element more than once
Any chance this could get merged @andreasbm?