mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4227] Sidenav Layout - support direction (#4583)
* basic ui direction service * direction property * demo shell integration * move the direction in up sidenav layout to allow also the header to reorganize use the configuration editor to change rtl ltr add documenation * Update app.component.html * fix unit tests * fix overlay viewer e2e * fix e2e
This commit is contained in:
committed by
Eugenio Romano
parent
83cb98f435
commit
3b83539b13
@@ -18,6 +18,18 @@ added to the main `<body>` element in `index.html`. When the attribute is set to
|
||||
</body>
|
||||
```
|
||||
|
||||
If you use the [Sidenav Layout component](../core/components/sidenav-layout.component.md) you can choose set the direction property in it using the property direction ans set it to **'rtl'**
|
||||
|
||||
|
||||
```html
|
||||
<adf-sidenav-layout
|
||||
[direction]="'rtl'">
|
||||
......
|
||||
</adf-sidenav-layout>
|
||||
```
|
||||
|
||||
|
||||
|
||||
Also, we have a [translation file](internationalization.md) for Arabic (code: "ar"),
|
||||
which is the
|
||||
[most widely used](https://en.wikipedia.org/wiki/List_of_languages_by_number_of_native_speakers)
|
||||
|
Reference in New Issue
Block a user