Select to view content in your preferred language

tooltips for icons in Action Pad and Action Bar

427
1
Jump to solution
07-24-2024 11:29 AM
LefterisKoumis
Frequent Contributor

I have several icons displayed on the action pad and action bar. For the users not familiar with the icons would be a great help to have the mouse over functionality to show the name of the tool. I know we have the tooltip component, but in my opinion you will have to generate more lines of code. In addition to each tooltip script, you have to add an id to the tool because that's how the tooltip works by using its reference element.

Anyone has a solution?

@KittyHurley 

0 Kudos
1 Solution

Accepted Solutions
KittyHurley
Esri Contributor

@LefterisKoumis Using whenDefined and spread syntax you can dynamically generate content for each action in an action-bar or action-pad: https://codepen.io/geospatialem/pen/YzoGNjR 

 

 

View solution in original post

0 Kudos
1 Reply
KittyHurley
Esri Contributor

@LefterisKoumis Using whenDefined and spread syntax you can dynamically generate content for each action in an action-bar or action-pad: https://codepen.io/geospatialem/pen/YzoGNjR 

 

 

0 Kudos