You need to sign in to do that
Don't have an account?
Diamundo
SLDS: Icon as button
Hi there,
I am trying to create buttons, but instead of text (multiple language support) I would like to use icons.
For now: I would like these:
- up
- down
- edit
- delete
I have two questions:
- Where can I find the icons SLDS provides? (i.e. a list of all icons)
- How do I execute a function when someone clicks a button(icon) ?
Thanks in advance!
I am trying to create buttons, but instead of text (multiple language support) I would like to use icons.
For now: I would like these:
- up
- down
- edit
- delete
I have two questions:
- Where can I find the icons SLDS provides? (i.e. a list of all icons)
- How do I execute a function when someone clicks a button(icon) ?
Thanks in advance!
Icons are at https://lightningdesignsystem.com/icons
Button: This will execute the function in the controller of the component.
All Answers
Icons are at https://lightningdesignsystem.com/icons
Button: This will execute the function in the controller of the component.