File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -154,8 +154,8 @@ It registers the `_logMessage` function which is triggered when the signal is em
154154
155155From the official [JupyterLab Documentation](https://jupyterlab.readthedocs.io/en/stable/developer/patterns.html#signals):
156156
157- > Wherever possible as signal connection should be made with the pattern ` .connect (this ._onFoo , this )` .
158- > Providing the ` this ` context enables the connection to be properly cleared by ` clearSignalData (this )` .
157+ > Wherever possible a signal connection should be made with the pattern ` .connect (this ._onFoo , this )` .
158+ > Providing the ` this ` context enables the connection to be properly cleared by ` Signal . clearData (this )` .
159159> Using a private method avoids allocating a closure for each connection.
160160
161161The ` _logMessage ` function receives as parameters the emitter (of type ` ButtonWidget ` )
You can’t perform that action at this time.
0 commit comments