<!-- Do not edit this file. It is automatically generated by API Documenter. --> [`ButtonComponent`](ButtonComponent) › [`(constructor)`](ButtonComponent/(constructor).md) ## ButtonComponent.(constructor) Constructs a new instance of the `ButtonComponent` class **Signature:** ```typescript constructor(containerEl: HTMLElement); ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | <code>containerEl</code> | <code>HTMLElement</code> | |