简体   繁体   中英

Is it possible to make mat-grid-list direction to be right to left?

I am using mat-grid-list of Material in an Angular project. I would like that the mat-grid-tile items direction will be in right to left order (By default the order of the items in mat-grid-list is left to right). I would like to get help how to change it. Thank you. Hagai

I found it simple. adding an attribute dir="rtl" to mat-grid-list solved my problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM