How to expose a ui5-webcomponents function from custom webcomponents #8755
Unanswered
akshil-verma
asked this question in
Q&A
Replies: 3 comments 2 replies
-
Hi @akshil-verma, Can you confirm the exact version of UI5 Web Components? Are you using the scoping feature: https://github.com/SAP/ui5-webcomponents/blob/main/docs/2-advanced/03-scoping.md? Best regards, |
Beta Was this translation helpful? Give feedback.
1 reply
-
And one more question: Do you have a custom theme created with the Theme designer? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi, Any leads on this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
We have created a custom webcomponent based on ui5-webcomponent's framework. Our web component is utilized in a frontend project that is built using the Luigi micro frontend framework. Until version 1.18.0, everything worked fine, but from version 1.19.0 the frontend project has been facing theming-related issues, i.e., the theme changes only partially for the whole frontend project. We realized that this problem is due to the new CSS runtime fix in #7703 and this problem is solved when the frontend framework calls the
setTheme
function.However, the frontend framework team insists on not importing any of the ui5-webcomponents packages as they are not directly dependent on it. So, my question is if there's any recommended way of exposing the
setTheme
function from within a custom webcomponent?Best regards,
Akshil Verma
Beta Was this translation helpful? Give feedback.
All reactions