creativetimofficial / ct-material-dashboard-pro-angular

68 stars 35 forks source link

RTL Support #383

Open dabbabi opened 3 years ago

dabbabi commented 3 years ago

Version

2.5.0

Reproduction link

https://demos.creative-tim.com/material-dashboard-pro-angular2/#/documentation/rtl

Operating System

Windows 10

Device

PC

Browser & Version

any (chrome, Edge, Firefox)

Steps to reproduce

@HostBinding('attr.dir') dir = 'ltr'; ... if (this.localeId.startsWith('ar')) { this.dir = 'rtl'; }

==> nothing happen

What is expected?

What do I need to do to change from ltf to rtl by using this this template.

What is actually happening?

The documentation on the below link is not update and not helpful and not aligned with the current version. https://demos.creative-tim.com/material-dashboard-pro-angular2/#/documentation/rtl


Solution

Additional comments

rarestoma commented 3 years ago

Hi @dabbabi,

Thank you for working with our products.

We have in plan to update the documentation with more specific examples, I already added it to the discussion for the next update.

Thank you, Rares

dabbabi commented 3 years ago

Thank you @rarestoma for your clearly answer. In order to adjust my planning, do you have any idea about the new release agenda (Weeks / Months), please? Have a good day