JavaScript/jQuery ColorBox - buttons

Allows you to add custom buttons to the input text field.

Type:

Array<DropDownPredefinedButton | TextEditorButton>

Default Value: undefined

Built-in buttons should also be declared in this array. You can find an example in the following demo:

View Demo

location

Specifies whether to place the button before or after the input text field.

Default Value: 'after'

NOTE
This property does not work for built-in buttons.

name

Specifies the button's name.

Type:

String

Default Value: undefined

See Also

options

Configures the Button UI component used as the action button.

Default Value: undefined

NOTE
This property does not work for built-in buttons.

View Demo