You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
language | en, de, es, etc... | en | Language to be used for translatable texts
12
-
RTL* | true, false | false | When true, sets global text direction to right-to-left
12
+
[RTL](#rtl) | true, false | false | When true, sets global text direction to right-to-left
13
13
compactSize | true, false | false | When set, enforces compact density (smaller margins/paddings)
14
14
calendarType | Gregorian, Islamic, Buddhist, Japanese, Persian | Gregorian | Default calendar type for date-related web components
15
-
noConflict** | true, false | Object | false | When set to true, all events will be fired with a "ui5-" prefix only
15
+
[noConflict](#noConflict) | true, false | Object | false | When set to true, all events will be fired with a "ui5-" prefix only
16
+
[formatSettings](#formatSettings)| See the [Format settings](#formatSettings) section below | Empty object | Allows to override locale-specific configuration
16
17
17
-
`*` When the `rtl` setting is set to `true`, UI5 Web Components will adjust their styling accordingly.
18
+
<aname="rtl"></a>
19
+
###RTL
20
+
21
+
When the `rtl` setting is set to `true`, UI5 Web Components will adjust their styling accordingly.
18
22
However, you should also set the HTML attribute `dir` to `rtl` on the `body` or `html` or any other relevant region of your application
19
23
so that the rest of your application is also affected.
20
24
21
-
`**` By default UI5 Web Components fire all custom events twice - once with the documented name (f.e. `change`), and once more with a `ui5-` prefix (f.e. `ui5-change`).
25
+
<aname="noConflict"></a>
26
+
### No conflict
27
+
28
+
By default UI5 Web Components fire all custom events twice - once with the documented name (f.e. `change`), and once more with a `ui5-` prefix (f.e. `ui5-change`).
22
29
For example, when the `ui5-switch` is toggled, it fires a `change` event, but also a `ui5-change` event.
23
30
24
31
The `noConflict` configuration setting allows certain control over this behavior:
@@ -39,6 +46,24 @@ The `noConflict` configuration setting allows certain control over this behavior
39
46
You can still use them by listening to `ui5-selectionChange` and `ui5-headerClick`, but the names `selectionChange` and `headerClick` will be
40
47
free for use by other UI components and libraries without name collision.
41
48
49
+
<aname="formatSettings"></a>
50
+
### Format settings
51
+
52
+
For example, to force the first day of week to Sunday, no matter the locale:
0 commit comments