Skip to content

Commit

Permalink
Formatting tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
willeastcott committed May 10, 2024
1 parent 23228c4 commit d5bddea
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
10 changes: 5 additions & 5 deletions src/components/LabelGroup/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ class LabelGroup extends Container {

protected _field: Element;

/**
* Creates a new LabelGroup.
*
* @param args - The arguments.
*/
/**
* Creates a new LabelGroup.
*
* @param args - The arguments.
*/
constructor(args: Readonly<LabelGroupArgs> = {}) {
super(args);

Expand Down
10 changes: 5 additions & 5 deletions src/components/Menu/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ export interface MenuArgs extends ContainerArgs {
class Menu extends Container implements IFocusable {
protected _containerMenuItems: Container;

/**
* Creates a new Menu.
*
* @param args - The arguments.
*/
/**
* Creates a new Menu.
*
* @param args - The arguments.
*/
constructor(args: Readonly<MenuArgs> = {}) {
super({ tabIndex: 1, ...args });

Expand Down
13 changes: 6 additions & 7 deletions src/components/MenuItem/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ class MenuItem extends Container implements IBindable {

protected _renderChanges: boolean;

/**
* Creates a new MenuItem.
*
* @param args - The arguments.
*/
/**
* Creates a new MenuItem.
*
* @param args - The arguments.
*/
constructor(args: Readonly<MenuItemArgs> = {}) {
super(args);

Expand Down Expand Up @@ -179,8 +179,7 @@ class MenuItem extends Container implements IBindable {
}

/**
* Selects the MenuItem which also happens automatically
* when the user clicks on the MenuItem.
* Selects the MenuItem which also happens automatically when the user clicks on the MenuItem.
*/
select() {
if (!this.enabled) return;
Expand Down

0 comments on commit d5bddea

Please sign in to comment.