Skip to content

Using finastra-design-system in angular 16 #1111

Answered by achilehero
st-clair-clarke asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!

Not all components emit custom events. The buttons, for example, are simple components (mainly made to look in a certain way) and would be handled just as any other button in an Angular app, like:
<fds-icon-button id="swagger-toolbox" icon="build_circle" label="Swagger toolbox" aria-label="Swagger toolbox" (click)="openAPIToolBox()" slot="actions" ></fds-icon-button>
So this has a normal (click) event handler defined by you.

Some of the components, like the notifications, have some custom events sent that you can catch and handle. If you go to Storybook: https://finastra.github.io/finastra-design-system/?path=/story/navigation-notifications--default, Sandbox, Actions tab, you will …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by st-clair-clarke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants