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

Visualizing Promises and Async/Await πŸ€“

async await

☝️ Check out this all-time classic DEV post on visualizing Promises and Async/Await πŸ€“