[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:
Cilibiu Bogdan
2019-05-14 14:45:05 +03:00
committed by Denys Vuika
parent 4f13dcc3e2
commit de0f906163
7 changed files with 100 additions and 27 deletions

View File

@@ -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