Liking cljdoc? Tell your friends :D
ClojureScript only.

web.dom.NavigatorLanguage

NavigatorLanguage contains methods and properties related to language of the navigator.

NavigatorLanguage contains methods and properties related to
language of the navigator.
raw docstring

languagecljs

(language this)

Property.

[Read Only]

The NavigatorLanguage.language read-only property returns a string the preferred language of the user, usually the language of the UI.

var lang = navigator.language

See also: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/language

Property.

[Read Only]

The NavigatorLanguage.language read-only property returns a string
the preferred language of the user, usually the language of the
UI.

`var lang = navigator.language`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/language`
sourceraw docstring

languagescljs

(languages this)

Property.

[Read Only] [Experimental]

The NavigatorLanguage.languages read-only property returns an of web.DOMStrings representing the user's preferred languages. language is described using BCP 47 language tags. In the returned they are ordered by preference with the most preferred language

preferredLanguages = globalObj.navigator.languages

See also: https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/languages

Property.

[Read Only]
[Experimental]

The NavigatorLanguage.languages read-only property returns an
of `web.DOMString`s representing the user's preferred languages.
language is described using BCP 47 language tags. In the returned
they are ordered by preference with the most preferred language

`preferredLanguages = globalObj.navigator.languages`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/NavigatorLanguage/languages`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close