Forem

Cover image for <select-language> Web Component
Danny Engelman
Danny Engelman

Posted on

<select-language> Web Component

Sorry, I don't have the time to write an extensive blog post.

Then again, a good Web Component should explain itself.

More docs: https://language-select.github.io/

After loading the Web Component, all HTML required is:

<language-select caption="Select a language" 
                 selected="en" 
                 languages="en,nl,es,pt,jp,sk"></language-select>

Enter fullscreen mode Exit fullscreen mode














Top comments (2)

Collapse
 
tbroyer profile image
Thomas Broyer

What kind of GPL 3.0 license is it if the repo only contains minified code‽

Collapse
 
dannyengelman profile image
Danny Engelman

Yes, you are right. I can't publish full code yet because its just not production ready.
Have changed the licence to Unlicense
tnx