Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to import enum types in Angular? #154

Open
1 of 4 tasks
steffenlutter-sap opened this issue Oct 30, 2024 · 1 comment
Open
1 of 4 tasks

How to import enum types in Angular? #154

steffenlutter-sap opened this issue Oct 30, 2024 · 1 comment

Comments

@steffenlutter-sap
Copy link

Issue Description

From the documentation it is not clear to me how to import enums - while I got help on Slack to get this working on my local dev environment, I am wondering if this is the way it should be done:

import FCLLayout from "@ui5/webcomponents-fiori/dist/types/FCLLayout.js";

Should enum types be re-exported by the angular wrapper? Or maybe should the documentation be improved?

Speaking of which - which one is the official documentation for the Angular Wrapper? I can find https://sap.github.io/ui5-webcomponents/docs/frameworks/Angular/ which seems to be a one-pager and https://ui5-webcomponents-ngx.netlify.app - but not sure if the latter is official. For react I can find something more official looking (https://sap.github.io/ui5-webcomponents-react/v2/) but I don't find any equivalent for Angular.

Maybe you can guide me here?

Many thanks in advance.

Issue Type

  • Documentation is unclear
  • Documentation is incorrect
  • Documentation is missing
  • Other
Copy link

Hello @steffenlutter-sap, thank you for using ui5-webcomponents-ngx! The ui5-webcomponents-ngx team will triage your issue as soon as possible.

@droshev droshev added this to the Sprint 140 - Novermber 2024 milestone Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants