How to select device when using addStyle method #5673
Answered
by
mauriciolcs2
mauriciolcs2
asked this question in
Q&A
-
I need to add a specific style on component mount using the addStyle method, but if i mount the component while the mobile portrait device is selected, the style will not be applied on the desktop. So i need a way that allows me to add style to the desktop without changing the selected device |
Beta Was this translation helpful? Give feedback.
Answered by
mauriciolcs2
Feb 7, 2024
Replies: 1 comment 1 reply
-
I find this workaround, but it's not as sophisticated as I wanted
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mauriciolcs2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I find this workaround, but it's not as sophisticated as I wanted