You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unlike Widget, widget.title doesn't have access to classList and its methods for class manipulation, only to className string parameter. As a result, class manipulation can only be done done through className string manipulation which is not optimal, prone to errors and edge cases, requires string-manipulation workarounds as shown below
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
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: