-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
Add classList to Widget.title to streamline class manipulation #539
Comments
andrii-i
changed the title
Add classList to Widget title so streamline class manipulation
Add classList to widget.title to streamline class manipulation
Feb 14, 2023
andrii-i
changed the title
Add classList to widget.title to streamline class manipulation
Add classList to Widget.title to streamline class manipulation
Feb 14, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Unlike
Widget
,widget.title
doesn't have access toclassList
and its methods for class manipulation, only toclassName
string parameter. As a result, class manipulation can only be done done throughclassName
string manipulation which is not optimal, prone to errors and edge cases, requires string-manipulation workarounds as shown belowReference
Originally posted by @krassowski in jupyterlab/jupyterlab#13921 (comment)
The text was updated successfully, but these errors were encountered: