mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4543] Language Menu - set layout orientation (#4719)
* language entry interface * pass language object * set textOrientation * tests * update doc * add rtl language
This commit is contained in:
committed by
Denys Vuika
parent
4f13dcc3e2
commit
de0f906163
@@ -51,6 +51,17 @@ The component fetches the list of available languages from `app.config.json`:
|
||||
]
|
||||
```
|
||||
|
||||
For languages that need RTL orientation, `direction` property must be declared. Default is `ltr`.
|
||||
|
||||
|
||||
```json
|
||||
{
|
||||
"key": "...",
|
||||
"label": "...",
|
||||
"direction": "rtl"
|
||||
},
|
||||
```
|
||||
|
||||
If no `languages` setting is provided, the component shows only the English language.
|
||||
|
||||
### Nested Menu language
|
||||
|
Reference in New Issue
Block a user