Search code examples
angularright-to-leftangular-material2

How To Change Angular Material 2 direction To RTL


I Want Create RTL Template With Angular Material 2 But، I do not know How To Do This Work? Please Help Me;


Solution

  • You should use rtl as attribute

    dir='rtl'
    

    Here is a plunker

    Go to index.html , you'll find :

    <body >
       <chips-overview-example dir="rtl">Loading Material Docs example...</chips-overview-example>
    </body>