-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow Customization of Full-Screen Card 'expand' and 'close' Labels #833
Comments
Thanks for the issue @mhanf. I agree, the need to customize the language of the label is quite motivating. I'm envisioning that we would provide a |
Thank you, @gadenbuie, for your response. This would be truly ideal. The 'fullscreen' argument has a wide range of use cases, and enabling the 'full_screen_options()' helper would empower developers to utilize it in a broader context. |
@gadenbuie is this in the pipeline, or has it been implementet already? |
When using the 'full_screen' parameter of the card function and setting it to TRUE, the tooltip label for the expand button and the subsequent close button label are hardcoded in English as "Expand" and "Close."
It would greatly benefit developers to have the ability to customize these labels. This customization feature would be particularly useful when developing applications in languages other than English.
One way to implement this feature could be to add optional parameters for custom labels when calling the bslib card function.
Thank you for considering this improvement.
Best regards
The text was updated successfully, but these errors were encountered: