solid-lang

Displays a button to set the language of the application.

<solid-lang lang="is" data-label="Icelandic"></solid-lang>

It uses the selectLanguage method from the store.

Attributes

lang

Code of the language.

data-label

Text to display on the button.