Skip to main content

CreateTradingViewStyledButtonOptions

Interface

Properties

align

Alignment for the button.

Default

'left'

Type

"left" | "right"


onClick

Optional

A function called when the button is clicked.

Type

() => void

Type declaration

Signature

() => void
Returns

void


text

The text shown on the button.

Type

string


title

Optional

The text shown on hovering the button.

Type

string


useTradingViewStyle

A button with the built-in styles will be created in the header.

Type

true