Skip to content

Commit 0888ec6

Browse files
committed
Fix typos in docstrings
1 parent 24253c9 commit 0888ec6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/widgets/src/tabbar.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,8 @@ export class TabBar<T> extends Widget {
355355

356356
/**
357357
* Whether scrolling is enabled.
358+
*
359+
* Note: for scrolling to work the tabs need to have `min-width` set.
358360
*/
359361
get scrollingEnabled(): boolean {
360362
return this._scrollingEnabled;
@@ -400,7 +402,7 @@ export class TabBar<T> extends Widget {
400402
* The tab bar content wrapper node.
401403
*
402404
* #### Notes
403-
* This is the node which the content node and enables scrolling.
405+
* This is the node which wraps the content node and enables scrolling.
404406
*
405407
* Modifying this node directly can lead to undefined behavior.
406408
*/
@@ -1064,7 +1066,7 @@ export class TabBar<T> extends Widget {
10641066
return;
10651067
}
10661068

1067-
// Initialize the non-measured parts of the drag data,
1069+
// Initialize the non-measured parts of the drag data.
10681070
this._dragData = {
10691071
tab: tabs[index] as HTMLElement,
10701072
index: index,

0 commit comments

Comments
 (0)