Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AngularJs Material design RTL layout

how can I change the whole layout of the angularjs material design component to RTL ?

like image 548
BaBaX Ra Avatar asked May 12 '15 08:05

BaBaX Ra


2 Answers

you can do this by BiDirectional Provider

app.config(function($mdBiDirectionalProvider) {
    $mdBiDirectionalProvider.rtlMode(true);
}

look at this page

like image 189
Mehdi Emrani Avatar answered Nov 18 '22 11:11

Mehdi Emrani


I found a simple way to change page layout.

<html dir="rtl">

just this

like image 29
BaBaX Ra Avatar answered Nov 18 '22 11:11

BaBaX Ra