Feel free to change the icon property to any name you desire, as it will create a span element with a class corresponding to the icon name under the hood. This class will be used as a selector to specify your item.
Use the p-speedDial component in your component's HTML file (component.html):
To achieve this, you can follow these steps:
component.ts):Feel free to change the icon property to any name you desire, as it will create a span element with a class corresponding to the icon name under the hood. This class will be used as a selector to specify your item.
p-speedDialcomponent in your component's HTML file (component.html):component.scss), select the spans and change their content:These styles will change the icon content of the first two buttons to '1' and '2' respectively.