Skip to content

Commit

Permalink
Fix typos in docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Jul 28, 2022
1 parent 24253c9 commit 0888ec6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/widgets/src/tabbar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,8 @@ export class TabBar<T> extends Widget {

/**
* Whether scrolling is enabled.
*
* Note: for scrolling to work the tabs need to have `min-width` set.
*/
get scrollingEnabled(): boolean {
return this._scrollingEnabled;
Expand Down Expand Up @@ -400,7 +402,7 @@ export class TabBar<T> extends Widget {
* The tab bar content wrapper node.
*
* #### Notes
* This is the node which the content node and enables scrolling.
* This is the node which wraps the content node and enables scrolling.
*
* Modifying this node directly can lead to undefined behavior.
*/
Expand Down Expand Up @@ -1064,7 +1066,7 @@ export class TabBar<T> extends Widget {
return;
}

// Initialize the non-measured parts of the drag data,
// Initialize the non-measured parts of the drag data.
this._dragData = {
tab: tabs[index] as HTMLElement,
index: index,
Expand Down

0 comments on commit 0888ec6

Please sign in to comment.