DEV Community

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

Posted on

1

<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 (3)

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

This post blew up on DEV in 2020:

js visualized

🚀⚙️ JavaScript Visualized: the JavaScript Engine

As JavaScript devs, we usually don't have to deal with compilers ourselves. However, it's definitely good to know the basics of the JavaScript engine and see how it handles our human-friendly JS code, and turns it into something machines understand! 🥳

Happy coding!

👋 Kindness is contagious

Sign in to DEV to enjoy its full potential—unlock a customized interface with dark mode, personal reading preferences, and more.

Okay