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 Aug 3, 2022
1 parent 82ea6f6 commit 59bf5f1
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 @@ -352,6 +352,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 @@ -397,7 +399,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 @@ -1046,7 +1048,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 59bf5f1

Please sign in to comment.