Widget Title Modification #1425
-
Hi, I saw a resolved issue (#843 ) that will be very useful to my project. Can anyone tell me how to use it? I would like to change my widget titles. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
In the |
Beta Was this translation helpful? Give feedback.
In the
props
key of a givenview
within thelayout
of your view config, you can settitle
as a key to be whatever you wish - I don't have any examples but if you look at any demo, thelayout
section follows this schema which has aprops
option. There are other ways to edit this more programmatically such as in this example where theobsType
controls all components' titles so that they are "Bead." If you wish to see the view config, you can look in your browser console or the demo view configs are contained in this repo: https://github.com/vitessce/vitessce/tree/main/examples/configs/src/view-configs