bn.setControlButton
▸ setControlButton(params
): Promise
<{}>
description
Set Control Button Icon Color / Border Color / Background Color
remark
supported jssdk > 4.33.0
example
await bn.setControlButton({
iconColor: string
borderColor: string
backgroundColor: string
})
Parameters
Name | Type |
---|---|
params | CmdSetControlButtonOptions |
Returns
Promise
<{}>
Interface: CmdSetControlButtonOptions
Name | Type | Description |
---|---|---|
iconColor | string | |
borderColor | string | |
backgroundColor | string |