-
I want to set direction(ltr/rlt) value. |
Beta Was this translation helpful? Give feedback.
Answered by
Enlcxx
Mar 15, 2022
Replies: 1 comment 1 reply
-
You can use import { ..., LyTheme2 } from '@alyle/ui';
export class MyComponent {
constructor(
...
private _theme: LyTheme2,
) {}
toggleDirection() {
this._theme.toggleDirection()
}
} But to set direction (rtl/ltr) value it is not possible. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
TicTak21
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
LyTheme2
serviceBut to set direction (rtl/ltr) value it is not possible.
This method can be added, but I don't think it's useful, is it?