Hello everyone,
In the project below, how can I rename the word "Collapse"?
Project: https://codepen.io/pen?editors=1000
Thank you for your help.
You'll have to provide a new link to your project
This is the link of the project :
https://codepen.io/benesri/pen/JjywgXy?editors=1010
Thanks for your help
Hi there,
You will likely to get more responses if you post your question on calcite community: https://community.esri.com/t5/calcite-design-system/ct-p/calcite-design-system
Calcite developer page lets you interact with the different aspects of the component on their page. Then you can get the updated the code from the page and use it in your app. For action bar you can use this page: https://developers.arcgis.com/calcite-design-system/components/action-bar/
You can change the word under translations. For example for the collapse you can change the following way:
<script>
document.querySelector("calcite-action-bar").messageOverrides = {
collapse: "Override message"
};
</script>
This works with the latest version. I see that the codepen you provided is using beta version of the calcite. You may want to update your version so that the approach above works. If not you can ask the follow up question on the calcite community.