RNAcentral / r2dt-web

Web component for visualising RNA secondary structure in standard orientations
https://rnacentral.github.io/r2dt-web/
Apache License 2.0
3 stars 1 forks source link

Add an option to hide title #17

Closed AntonPetrov closed 2 months ago

AntonPetrov commented 2 months ago

Based on feedback from PomBase from @valwood and @kimrutherford, it would be useful to add an option for hiding the Secondary structure heading. Currently this can be accomplished by setting the titleSize to 0px but there should be a more official way of accomplishing this.

carlosribas commented 2 months ago

I'll think of an alternative, but it will most likely work the same way, for example "hideTitle": "true". I'll be in touch as soon as it's finished

carlosribas commented 2 months ago

Ok, this can be done using the following parameter:

customStyle='{
    "hideTitle": "true"
}'
kimrutherford commented 2 months ago

Thanks! I've just tested that option and it works for us.

@ValWood The change will be on pombase.org in the morning.