I have speed dial component in my html:
Code: Select all
<p-speedDial
#sd
[model]="userMenu"
direction="left"
showIcon="pi pi-user"
[rotateAnimation]="false"
(onVisibleChange)="changeVisibility(sd.visible)">
</p-speedDial>
Code: Select all
this.userMenu = [
{
icon: 'pi pi-cog',
routerLink: ['/settings'],
tooltip: 'Settings',
tooltipPosition: 'bottom',
},
{
icon: 'pi pi-info-circle',
routerLink: ['release-notes'],
tooltip: 'Release notes',
tooltipPosition: 'bottom'
}
];
If anyone can help I would be grateful,
Thanks!