Results 1 - 10 of 10

JavaScript Guide

The JavaScript Guide shows you how to use JavaScript and gives an overview of the language. If you need exhaustive information about a language feature, have a look at the JavaScript reference.
Guide JavaScript l10n:priority

L10n.language.code

Returns the code of the currently active language.
API Firefox OS l10n Localization Property Reference Référence

L10n.language.direction

Returns the direction of the currently active language (ltr or rtl).
API Firefox OS l10n Localization Property Reference Référence

L10n.readyState

readyState should be used sparingly;  L10n.ready() and L10n.once() are usually better suited for controlling when code is run relative to the state of the localization.
API Firefox OS l10n Localization Property Reference Référence