Button
Extends
Type Parameters
| Type Parameter | Default type |
|---|---|
K extends keyof ButtonRPCPayload | keyof ButtonRPCPayload |
Properties
| Property | Type | Description | Inherited from |
|---|---|---|---|
onClick | Signal<ButtonRPCPayload[K]["onClick"]["input"] extends undefined ? void : ButtonRPCPayload[K]["onClick"]["input"]> | When the toolbar button has a group, it does not have a click event. It's click event is instead used to show the group Param Identifies which group button was clicked. Obsolete when the toolbar button does not have a group. | - |
remove | () => Promise<void> | Throws UIError | PluginElement.remove |
update | (payload) => Promise<void> | Throws UIError | - |