0
votes

In loop of anchor tags , if that anchor tag name is true , i am disabling the pointer events none and to that tag primeng tooltip is not working.

Please help on these issue.

Thanks in advance.

For Reference i am sharing the stackblitz url :-

https://stackblitz.com/edit/primeng-tooltip-demo-vby2r9?file=src%2Fapp%2Fapp.component.html

1

1 Answers

0
votes

You should change the condition of tooltip from

[pTooltip]="btn.age === true ? [btn.user, btn.age] : null"

to

[pTooltip]="btn.age !== true ? [btn.user, btn.age] : null"

as you will be able to show it only if pointer-events is not none.