Skip to content

Commit 59bf5f1

Browse files
committed
Fix typos in docstrings
1 parent 82ea6f6 commit 59bf5f1

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
@@ -352,6 +352,8 @@ export class TabBar<T> extends Widget {
352352

353353
/**
354354
* Whether scrolling is enabled.
355+
*
356+
* Note: for scrolling to work the tabs need to have `min-width` set.
355357
*/
356358
get scrollingEnabled(): boolean {
357359
return this._scrollingEnabled;
@@ -397,7 +399,7 @@ export class TabBar<T> extends Widget {
397399
* The tab bar content wrapper node.
398400
*
399401
* #### Notes
400-
* This is the node which the content node and enables scrolling.
402+
* This is the node which wraps the content node and enables scrolling.
401403
*
402404
* Modifying this node directly can lead to undefined behavior.
403405
*/
@@ -1046,7 +1048,7 @@ export class TabBar<T> extends Widget {
10461048
return;
10471049
}
10481050

1049-
// Initialize the non-measured parts of the drag data,
1051+
// Initialize the non-measured parts of the drag data.
10501052
this._dragData = {
10511053
tab: tabs[index] as HTMLElement,
10521054
index: index,

0 commit comments

Comments
 (0)