EmbedAction.onClick method
EmbedAction › onClick
Unofficial
Register a click handler for the action.Signature:
onClick(callback: () => unknown): thisParameters:
| Parameter | Type | Description |
|---|---|---|
| callback | () => unknown | Handler invoked when the action is clicked. |
Returns: this — The action, for chaining.