Skip to content

Commit

Permalink
コンストラクタの代わりにconnectedCallbackメソッドでボタン要素の操作を行う
Browse files Browse the repository at this point in the history
  • Loading branch information
oki07 committed Nov 23, 2024
1 parent cf4d2ab commit 82c835f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/dropdownAction/sp-dropdown-action-button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ export class SpDropdownActionButton extends UbButton {
styles,
];
}
}

connectedCallback(): void {
super.connectedCallback();

this.#insertIconElement();
}
Expand Down

0 comments on commit 82c835f

Please sign in to comment.