ButtonComponent.onClick method
ButtonComponent › onClick
Official
Sets the click event callback for the button component.Signature:
onClick(callback: (evt: MouseEvent) => unknown): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| callback | (evt: MouseEvent) => unknown |
Returns: this
Since: 0.12.16