Skip to content
Snippets Groups Projects
Verified Commit b95221c2 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chore: docs

parent ea8912c2
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ const KEY_CONTEXT = "context";
const stackSymbol = Symbol("stack");
/**
* With the focusmanager the focus can be stored in a document, recalled and moved.
* With the focus manager the focus can be stored in a document, recalled and moved.
*
* @license AGPLv3
* @since 1.25.0
......
......@@ -20,12 +20,13 @@ const DEFAULT_LANGUAGE = "en";
/**
* With this function you can read the language version set by the document.
* For this the attribute `lang` in the html tag is read. If no attribute is set, `en` is used as default.
* Alternatively, the language version of the browser is used.
*
* ```html
* <html lang="en">
* ```
*
* You can call the function via the monster namespace `new Monster.DOM.getLocaleOfDocument()`.
* You can call the function via `getLocaleOfDocument()`.
*
* @license AGPLv3
* @since 1.13.0
......
......@@ -182,22 +182,11 @@ class Locale extends Base {
*
* Limitations: The regex cannot handle multiple variants or private.
*
* You can call the method via the monster namespace `Monster.I18n.createLocale()`.
* You can call the method via this function individually:
*
* ```
* <script type="module">
* import {Monster} from '@schukai/monster/source/monster.mjs';
* new Monster.I18n.createLocale()
* </script>
* ```
*
* Alternatively, you can also integrate this function individually.
*
* ```
* <script type="module">
* ```javascript
* import {createLocale} from '@schukai/monster/source/i18n/locale.mjs';
* createLocale()
* </script>
* ```
*
* RFC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment