Skip to main content

Interface: CreateTradingViewStyledButtonOptions

Charting Library.CreateTradingViewStyledButtonOptions

Properties​

align​

• align: "left" | "right"

Alignment for the button.

Default

'left'

onClick​

• Optional onClick: () => void

A function called when the button is clicked.

Type declaration​

▸ (): void

Returns​

void


text​

• text: string

The text shown on the button.


title​

• Optional title: string

The text shown on hovering the button.


useTradingViewStyle​

• useTradingViewStyle: true

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