You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If any other custom element with the name code-input is loaded, it will clash.
The JavaScript could be made with a try...catch statement to only register with the name code-input if it's not yet taken and allow registering of the exported CodeInput element class under any name.
The CSS would be more difficult to change dynamically. Should it be loaded by the JavaScript in major version 3? If so, that may be bad for progressive enhancement. Perhaps how to modify the element name via code patches should be included in the docs.
Activity