Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Monster
Manage
Activity
Members
Plan
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSS
Libraries
Javascript
Monster
Commits
b95221c2
Verified
Commit
b95221c2
authored
2 years ago
by
Volker Schukai
Browse files
Options
Downloads
Patches
Plain Diff
chore: docs
parent
ea8912c2
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
application/source/dom/focusmanager.mjs
+1
-1
1 addition, 1 deletion
application/source/dom/focusmanager.mjs
application/source/dom/locale.mjs
+2
-1
2 additions, 1 deletion
application/source/dom/locale.mjs
application/source/i18n/locale.mjs
+2
-13
2 additions, 13 deletions
application/source/i18n/locale.mjs
with
5 additions
and
15 deletions
application/source/dom/focusmanager.mjs
+
1
−
1
View file @
b95221c2
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
application/source/dom/locale.mjs
+
2
−
1
View file @
b95221c2
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
application/source/i18n/locale.mjs
+
2
−
13
View file @
b95221c2
...
...
@@ -182,22 +182,11 @@ class Locale extends Base {
*
* Limitations: The regex cannot handle multiple variants or private.
*
* You can call the method via th
e monster namespace `Monster.I18n.createLocale()`.
* You can call the method via th
is 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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment