我们如何根据所选文化更改 Angular 5 国际化中的 html dir
属性?
我的意思是,自动将其更改为 ltr
或 rtl
!
最佳答案
您可以使用 ltr
。 HTML代码是:
<div i18n-dir dir="ltr">
<!-- The rest of the content -->
</div>
关于Angular 5 国际化 html 方向属性?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44965413/