Hello, I want to customize the tooltip for the arcgis-expand button. Unfortunately, it doesn't work with calcite-tooltip. Does anyone have an idea?
<arcgis-expand position="top-right" mode="floating" id="Legende">
<calcite-tooltip label="Legende" reference-element="Legende">
<span>Legende</span>
</calcite-tooltip>
<arcgis-legend/>
</arcgis-expand>
Solved! Go to Solution.
You need to use the attribute name `expand-tooltip` instead of the property name, like this
<arcgis-expand position="top-right" expand-tooltip="My custom tooltip">
You can read more about Component attributes and properties on this guide page: https://developers.arcgis.com/javascript/latest/programming-patterns/#attributes-and-properties
That doesn't work either.
<arcgis-expand position="top-right" mode="floating" expandTooltip="Legende">
<arcgis-legend/>
</arcgis-expand>
You need to use the attribute name `expand-tooltip` instead of the property name, like this
<arcgis-expand position="top-right" expand-tooltip="My custom tooltip">
You can read more about Component attributes and properties on this guide page: https://developers.arcgis.com/javascript/latest/programming-patterns/#attributes-and-properties